mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-25 03:24:37 +03:00
ar71xx: init ethernet mac address on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17811 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aef49b0447
commit
adda252dad
@ -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));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user