summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-21 18:22:01 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-21 18:22:01 +0000
commit0398b9f54d244a6c8bb9461b730611523bab7736 (patch)
tree4d4ebc74a3150fa708422b2312dc798a6c208ebc /target/linux
parent9d6983fd7805c5d2c711f159cefb955737f8607a (diff)
[ar71xx] fix typos in the PB42 support code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
index f6d7a2e0a..5d98ea5d1 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-pb44.c
@@ -46,7 +46,7 @@ static struct ar71xx_pci_irq pb44_pci_irqs[] __initdata = {
}
};
-#define PB44_WAN_PHYMASK BIT(1)
+#define PB44_WAN_PHYMASK BIT(0)
#define PB44_LAN_PHYMASK 0
#define PB44_MDIO_PHYMASK (PB44_LAN_PHYMASK | PB44_WAN_PHYMASK)
@@ -63,7 +63,7 @@ static void __init pb44_init(void)
ar71xx_add_device_eth(0);
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
- ar71xx_eth1_data.phy_mask = PB44_WAN_PHYMASK;
+ ar71xx_eth1_data.phy_mask = PB44_LAN_PHYMASK;
ar71xx_eth1_data.speed = SPEED_1000;
ar71xx_eth1_data.duplex = DUPLEX_FULL;