sfc: QT202x: Remove unreliable MMD check at initialisation
authorMatthew Slattery <mslattery@solarflare.com>
Mon, 18 Jan 2010 05:47:16 +0000 (05:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:59:17 +0000 (01:59 -0800)
Checking the PHY XS MMD here is unnecessary and can give false negatives.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/qt202x_phy.c

index ff8f0a4..e0d13a4 100644 (file)
@@ -318,12 +318,6 @@ static int qt202x_reset_phy(struct efx_nic *efx)
        /* Wait 250ms for the PHY to complete bootup */
        msleep(250);
 
-       /* Check that all the MMDs we expect are present and responding. We
-        * expect faults on some if the link is down, but not on the PHY XS */
-       rc = efx_mdio_check_mmds(efx, QT202X_REQUIRED_DEVS, MDIO_DEVS_PHYXS);
-       if (rc < 0)
-               goto fail;
-
        falcon_board(efx)->type->init_phy(efx);
 
        return rc;