From: Steve Glendinning <steve.glendinning@smsc.com>
Date: Wed, 8 Apr 2009 22:42:15 +0000 (-0700)
Subject: smsc911x: correct debugging message on mii read timeout
X-Git-Tag: firefly_0821_release~14024^2~242
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=150899d29367eb60302bcb710e779617d04aceea;p=firefly-linux-kernel-4.4.55.git

smsc911x: correct debugging message on mii read timeout

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 6da678129828..eb7db032a780 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: