phylib: add mdiobus_{read,write}
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 29 Sep 2008 17:12:35 +0000 (17:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:38:41 +0000 (16:38 -0700)
commit2e888103295f47b8fcbf7e9bb8c5da97dd2ecd76
tree210943ed285496352078124fd2a43443b1e5b265
parent46abc02175b3c246dd5141d878f565a8725060c9
phylib: add mdiobus_{read,write}

Add mdiobus_{read,write} routines to allow direct reading/writing
of registers on an mii bus without having to go through the PHY
abstraction, and make phy_{read,write} use these primitives.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
drivers/net/phy/phy.c
include/linux/phy.h