* [PATCH net-2.6] sfc: QT202x: Remove unreliable MMD check at initialisation
@ 2010-01-18 15:47 Ben Hutchings
2010-01-19 10:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2010-01-18 15:47 UTC (permalink / raw)
To: David Miller; +Cc: netdev, linux-net-drivers
From: Matthew Slattery <mslattery@solarflare.com>
Checking the PHY XS MMD here is unnecessary and can give false negatives.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
drivers/net/sfc/qt202x_phy.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/drivers/net/sfc/qt202x_phy.c b/drivers/net/sfc/qt202x_phy.c
index ff8f0a4..e0d13a4 100644
--- a/drivers/net/sfc/qt202x_phy.c
+++ b/drivers/net/sfc/qt202x_phy.c
@@ -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;
--
1.5.5
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-2.6] sfc: QT202x: Remove unreliable MMD check at initialisation
2010-01-18 15:47 [PATCH net-2.6] sfc: QT202x: Remove unreliable MMD check at initialisation Ben Hutchings
@ 2010-01-19 10:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-01-19 10:00 UTC (permalink / raw)
To: bhutchings; +Cc: netdev, linux-net-drivers
From: Ben Hutchings <bhutchings@solarflare.com>
Date: Mon, 18 Jan 2010 15:47:16 +0000
> From: Matthew Slattery <mslattery@solarflare.com>
>
> Checking the PHY XS MMD here is unnecessary and can give false negatives.
>
> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-19 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 15:47 [PATCH net-2.6] sfc: QT202x: Remove unreliable MMD check at initialisation Ben Hutchings
2010-01-19 10:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).