smsc95xx: set MII_BUSY bit to read/write PHY regs
authorSteve Glendinning <steve.glendinning@shawell.net>
Tue, 6 Nov 2012 00:08:53 +0000 (00:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2012 19:25:50 +0000 (14:25 -0500)
commit80928805babfd97b6f1721dd942a55dd2e7813ea
tree59874901a3b7358aecba22c88a0fe759a10d42ef
parent0c9f79be295c99ac7e4b569ca493d75fdcc19e4e
smsc95xx: set MII_BUSY bit to read/write PHY regs

The device datasheet specifies the BUSY bit must be set when reading
or writing phy registers.  This patch ensures we do that.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c