1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 17:08:33 +03:00

ar71xx: don't probe the LAN PHY

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
matteo 2011-05-17 11:15:24 +00:00
parent 371ae7af3a
commit 005a65e01d

View File

@ -236,7 +236,6 @@ MIPS_MACHINE(AR71XX_MACH_UBNT_LSSR71, "UBNT-LS-SR71", "Ubiquiti LS-SR71",
ubnt_lssr71_setup);
#define UBNT_M_WAN_PHYMASK BIT(4)
#define UBNT_M_LAN_PHYMASK BIT(0)
static void __init ubnt_m_setup(void)
{
@ -246,7 +245,7 @@ static void __init ubnt_m_setup(void)
ar71xx_add_device_m25p80(NULL);
ar71xx_add_device_mdio(~(UBNT_M_WAN_PHYMASK | UBNT_M_LAN_PHYMASK));
ar71xx_add_device_mdio(~UBNT_M_WAN_PHYMASK);
ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac1, 0);
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac2, 0);