bcm53xx: start working on Netgear R8500
[openwrt/openwrt.git] / target / linux / bcm53xx / base-files / etc / board.d / 02_network
index 736cdac94a5293bbf1bc0189a11b336cc47a4290..f879e01bf245c67fd075bfffb99478d86911150d 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (C) 2011 OpenWrt.org
 #
 
-. /lib/functions/uci-defaults-new.sh
+. /lib/functions/uci-defaults.sh
 
 board_config_update
 
@@ -15,6 +15,9 @@ asus,rt-ac87u)
 netgear,r8000)
        ifname=eth2
        ;;
+netgear,r8500)
+       ifname=eth2
+       ;;
 *)
        ifname=eth0
        ;;
@@ -27,8 +30,6 @@ netgear,r8000)
        ;;
 esac
 
-ucidef_set_interface_loopback
-
 # Workaround for devices using CPU port 8 (connected to eth2)
 case "$board" in
 netgear,r8000)