]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffbe11d37fff5132ae0e44296269087354b6602a
tree210943ed285496352078124fd2a43443b1e5b265
parentf20c0459fac08b2960cbb0e1b29cb15bbbeeebb4
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