diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 19:41:08 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 19:41:08 +0000 |
commit | 9691b4e4680a60cfe62b20776d22a824012ecd17 (patch) | |
tree | ca75dbaef7db3277d4d55f4f90547f9dfc8ce579 /target | |
parent | c2c76e6a5d8fb4c34fb8202f3a77795cea98d5b8 (diff) | |
download | upstream-9691b4e4680a60cfe62b20776d22a824012ecd17.tar.gz upstream-9691b4e4680a60cfe62b20776d22a824012ecd17.tar.bz2 upstream-9691b4e4680a60cfe62b20776d22a824012ecd17.zip |
ar71xx: init ethernet mac address on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17811 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c index 37804b21a9..ff32302fc7 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -246,6 +246,9 @@ MIPS_MACHINE(AR71XX_MACH_UBNT_LSSR71, "Ubiquiti LS-SR71", ubnt_lssr71_setup); static void __init ubnt_bullet_m_setup(void) { + u8 *mac = (u8 *) KSEG1ADDR(0x1fff0000); + + ar71xx_set_mac_base(mac); ar71xx_add_device_spi(NULL, ubnt_spi_info, ARRAY_SIZE(ubnt_spi_info)); |