mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:32:49 +02:00
ar71xx: use correct mac on the lan interface on several TP-LINK devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a97fd90341
commit
99997320ea
@ -93,8 +93,8 @@ static void __init tl_mr3x20_setup(void)
|
||||
ARRAY_SIZE(tl_mr3x20_gpio_keys),
|
||||
tl_mr3x20_gpio_keys);
|
||||
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, -1);
|
||||
|
||||
ar71xx_add_device_mdio(0, 0x0);
|
||||
|
||||
|
@ -101,8 +101,8 @@ static void __init tl_wr741ndv4_setup(void)
|
||||
tl_wr741ndv4_gpio_keys);
|
||||
|
||||
ar71xx_add_device_m25p80(&tl_wr741ndv4_flash_data);
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, -1);
|
||||
|
||||
ar71xx_add_device_mdio(0, 0x0);
|
||||
ar71xx_add_device_eth(1);
|
||||
|
@ -79,8 +79,8 @@ static void __init tl_wr741nd_setup(void)
|
||||
ARRAY_SIZE(tl_wr741nd_gpio_keys),
|
||||
tl_wr741nd_gpio_keys);
|
||||
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 1);
|
||||
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, -1);
|
||||
|
||||
ar71xx_add_device_mdio(0, 0x0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user