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 | d2c055526caa63c6093864d15e5f37b325a64005 (patch) | |
tree | 6ad93b2116681e8f2f975de0fba24fda15b578b0 /target/linux/ar71xx/files | |
parent | dd3b2ae8af2bb3d7d7607c8545d2e62d64959aee (diff) | |
download | mtk-20170518-d2c055526caa63c6093864d15e5f37b325a64005.zip mtk-20170518-d2c055526caa63c6093864d15e5f37b325a64005.tar.gz mtk-20170518-d2c055526caa63c6093864d15e5f37b325a64005.tar.bz2 |
ar71xx: init ethernet mac address on the Bullet M
SVN-Revision: 17811
Diffstat (limited to 'target/linux/ar71xx/files')
-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 37804b2..ff32302 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)); |