aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-11-19 07:24:00 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-11-19 07:24:00 +0000
commit9971dfe059eb60540332a2c695ec4ccef186ee83 (patch)
tree08b24bb151560cb0ad11c4ad343281fe617cdf20 /target/linux
parent8442d626548f82a21b170ef1c14e132b13fa086c (diff)
downloadupstream-9971dfe059eb60540332a2c695ec4ccef186ee83.tar.gz
upstream-9971dfe059eb60540332a2c695ec4ccef186ee83.tar.bz2
upstream-9971dfe059eb60540332a2c695ec4ccef186ee83.zip
ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
r22700 contained a copy-and-paste error that set eth0's MAC address twice and never set eth1's. Signed-off-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 24036
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
index 5ecc47390c..3d3114689b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
@@ -156,7 +156,7 @@ static void __init dir825b1_setup(void)
ar71xx_eth0_data.duplex = DUPLEX_FULL;
ar71xx_eth0_pll_data.pll_1000 = 0x11110000;
- ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 2);
+ ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 2);
ar71xx_eth1_data.mii_bus_dev = &dir825b1_rtl8366s_device.dev;
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ar71xx_eth1_data.phy_mask = 0x10;