Commit 150899d2 authored by Steve Glendinning's avatar Steve Glendinning Committed by David S. Miller

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: default avatarSteve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5cacb3b
...@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx) ...@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
goto out; 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; reg = -EIO;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment