mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
ramips: fix mac addresses of Youku YK1
MAC addresses read from official firmware value location Wlan xx 71 de factory@0x04 Lan xx 71 dd factory@0x28 Wan xx 71 df factory@0x2e Label xx 71 dd factory@0x28 Signed-off-by: Shiji Yang <yangshiji66@qq.com> [fix sorting in 02_network, redact commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
f4940d2229
commit
e57e460dc7
@ -12,6 +12,7 @@
|
|||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
led-upgrade = &led_power;
|
led-upgrade = &led_power;
|
||||||
|
label-mac-device = ðernet;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
@ -106,7 +107,7 @@
|
|||||||
ðernet {
|
ðernet {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
mtd-mac-address = <&factory 0x4>;
|
mtd-mac-address = <&factory 0x28>;
|
||||||
|
|
||||||
mediatek,portmap = "llllw";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
@ -254,7 +254,6 @@ ramips_setup_macs()
|
|||||||
sanlinking,d240|\
|
sanlinking,d240|\
|
||||||
vonets,var11n-300|\
|
vonets,var11n-300|\
|
||||||
wrtnode,wrtnode|\
|
wrtnode,wrtnode|\
|
||||||
youku,yk1|\
|
|
||||||
zbtlink,zbt-ape522ii|\
|
zbtlink,zbt-ape522ii|\
|
||||||
zbtlink,zbt-wa05|\
|
zbtlink,zbt-wa05|\
|
||||||
zbtlink,zbt-we2026|\
|
zbtlink,zbt-we2026|\
|
||||||
@ -338,7 +337,8 @@ ramips_setup_macs()
|
|||||||
lenovo,newifi-y1|\
|
lenovo,newifi-y1|\
|
||||||
lenovo,newifi-y1s|\
|
lenovo,newifi-y1s|\
|
||||||
ohyeah,oy-0001|\
|
ohyeah,oy-0001|\
|
||||||
wavlink,wl-wn530hg4)
|
wavlink,wl-wn530hg4|\
|
||||||
|
youku,yk1)
|
||||||
wan_mac=$(mtd_get_mac_binary factory 0x2e)
|
wan_mac=$(mtd_get_mac_binary factory 0x2e)
|
||||||
;;
|
;;
|
||||||
linksys,e1700)
|
linksys,e1700)
|
||||||
|
Loading…
Reference in New Issue
Block a user