fix phy id on the WP543 board
authorGabor Juhos <juhosg@openwrt.org>
Wed, 3 Sep 2008 15:23:26 +0000 (15:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 3 Sep 2008 15:23:26 +0000 (15:23 +0000)
SVN-Revision: 12517

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c

index 21d9eb0b57e211847e76d87a6fecf172686d7408..d68654e5dfe474e2316307f33827b2fafacbd1f4 100644 (file)
@@ -48,8 +48,8 @@ static void __init wp543_setup(void)
 {
        ar71xx_add_device_spi(NULL, wp543_spi_info, ARRAY_SIZE(wp543_spi_info));
 
-       ar71xx_add_device_mdio(0xfffffffe);
-       ar71xx_add_device_eth(0, PHY_INTERFACE_MODE_MII, 0x00000001);
+       ar71xx_add_device_mdio(0xfffffff7);
+       ar71xx_add_device_eth(0, PHY_INTERFACE_MODE_MII, 0x00000008);
 
        ar71xx_pci_init(ARRAY_SIZE(wp543_pci_irqs), wp543_pci_irqs);
 }