aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Croce <rootkit85@yahoo.it>2011-05-17 11:15:24 +0000
committerMatteo Croce <rootkit85@yahoo.it>2011-05-17 11:15:24 +0000
commit17e257925feb520d1ef06be9ca4e59f50cb6e9dc (patch)
tree8bb08d51c981575a747b5ebbe91b1588eda9b0eb
parent888bee4ef233e4e405b5cefd81252bc446968eb2 (diff)
downloadupstream-17e257925feb520d1ef06be9ca4e59f50cb6e9dc.tar.gz
upstream-17e257925feb520d1ef06be9ca4e59f50cb6e9dc.tar.bz2
upstream-17e257925feb520d1ef06be9ca4e59f50cb6e9dc.zip
ar71xx: don't probe the LAN PHY
SVN-Revision: 26924
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c3
1 files changed, 1 insertions, 2 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 bc682cbf9d..56af69dcc2 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
@@ -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);