diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-06-14 11:38:26 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-06-14 11:38:26 +0000 |
commit | aa63556c194b60e5a2195e420e675868005cd1d7 (patch) | |
tree | 50b49aca87afe4a155ad06c59033b9ae20f36c0a /target/linux/ar71xx/files | |
parent | 5e22ace545d376b2b8b9c3a1bd399c3f795ac432 (diff) | |
download | upstream-aa63556c194b60e5a2195e420e675868005cd1d7.tar.gz upstream-aa63556c194b60e5a2195e420e675868005cd1d7.tar.bz2 upstream-aa63556c194b60e5a2195e420e675868005cd1d7.zip |
[ar71xx] setup mac address on the WNR2000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16450 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c index 252856d2c9..d766fef711 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wnr2000.c @@ -127,6 +127,9 @@ static struct gpio_button wnr2000_gpio_buttons[] __initdata = { static void __init wnr2000_setup(void) { + u8 *mac = (u8 *) KSEG1ADDR(0x1fff1000); + + ar71xx_set_mac_base(mac); ar71xx_add_device_mdio(0x0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII; |