mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 19:40:39 +00:00
mpc85xx: fix label-mac-address for Enterasys WS-AP3710i
The WS-AP3710i does not correctly expose its label-mac on eth0 anymore since the change to simpleLoader. Fix this by obtaining the label-mac from the U-Boot environment. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
05aec66d53
commit
e321e70ddc
@ -16,6 +16,10 @@ aerohive,hiveap-330|\
|
|||||||
enterasys,ws-ap3715i)
|
enterasys,ws-ap3715i)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
;;
|
;;
|
||||||
|
enterasys,ws-ap3710i)
|
||||||
|
ucidef_set_interface_lan "eth0"
|
||||||
|
ucidef_set_label_macaddr "$(mtd_get_mac_ascii cfg1 ethaddr)"
|
||||||
|
;;
|
||||||
hpe,msm460)
|
hpe,msm460)
|
||||||
ucidef_set_interface_lan "eth0"
|
ucidef_set_interface_lan "eth0"
|
||||||
;;
|
;;
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
led-failsafe = &led_power_red;
|
led-failsafe = &led_power_red;
|
||||||
led-running = &led_power_green;
|
led-running = &led_power_green;
|
||||||
led-upgrade = &led_power_red;
|
led-upgrade = &led_power_red;
|
||||||
label-mac-device = &enet0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user