From: Jesse Huang Change PHY address search from phy=1 to phy=0. Because our device is a single chip with phy and MAC in side. The phy address is 0. So we need to use 0 as phy address. Signed-off-by: Jesse Huang Signed-off-by: Andrew Morton --- drivers/net/sundance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/net/sundance.c~sundance-change-phy-address-search-from-phy=1-to-phy=0 drivers/net/sundance.c --- a/drivers/net/sundance.c~sundance-change-phy-address-search-from-phy=1-to-phy=0 +++ a/drivers/net/sundance.c @@ -561,8 +561,9 @@ static int __devinit sundance_probe1 (st /* * It seems some phys doesn't deal well with address 0 being accessed * first, so leave address zero to the end of the loop (32 & 31). + * for IP100A the phy should start from 0 */ - for (phy = 1; phy <= 32 && phy_idx < MII_CNT; phy++) { + for (phy = 0; phy <= 32 && phy_idx < MII_CNT; phy++) { int phyx = phy & 0x1f; int mii_status = mdio_read(dev, phyx, MII_BMSR); if (mii_status != 0xffff && mii_status != 0x0000) { _