netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smsc911x: correct debugging message on mii read timeout
@ 2009-04-08 19:27 Steve Glendinning
  2009-04-08 22:42 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Glendinning @ 2009-04-08 19:27 UTC (permalink / raw)
  To: netdev; +Cc: Ian Saturley, David Miller, Steve Glendinning

the warning printed when a mii READ times out currently says "Timed out
waiting for MII write to finish".  This patch corrects this.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
---
 drivers/net/smsc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 6da6781..eb7db03 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
 			goto out;
 		}
 
-	SMSC_WARNING(HW, "Timed out waiting for MII write to finish");
+	SMSC_WARNING(HW, "Timed out waiting for MII read to finish");
 	reg = -EIO;
 
 out:
-- 
1.6.0.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-08 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 19:27 [PATCH] smsc911x: correct debugging message on mii read timeout Steve Glendinning
2009-04-08 22:42 ` 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).