ar71xx: init ethernet mac address on the Bullet M

SVN-Revision: 17811
lede-17.01
Gabor Juhos 2009-10-01 19:41:08 +00:00
parent dd3b2ae8af
commit d2c055526c
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,9 @@ MIPS_MACHINE(AR71XX_MACH_UBNT_LSSR71, "Ubiquiti LS-SR71", ubnt_lssr71_setup);
static void __init ubnt_bullet_m_setup(void) 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, ar71xx_add_device_spi(NULL, ubnt_spi_info,
ARRAY_SIZE(ubnt_spi_info)); ARRAY_SIZE(ubnt_spi_info));