netdev/phy: add MDIO bus multiplexer driven by a memory-mapped device
authorTimur Tabi <timur@freescale.com>
Fri, 24 Aug 2012 09:10:53 +0000 (09:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2012 16:54:48 +0000 (12:54 -0400)
commit6cc2ff82492d89f763e69ea6b8681926aceda610
tree37cc43ef6eee4386bc68202f6681507e91bdd20a
parente92bdf4bf199f582dae8249a21e991db4bf66480
netdev/phy: add MDIO bus multiplexer driven by a memory-mapped device

Add support for an MDIO bus multiplexer controlled by a simple memory-mapped
device, like an FPGA.  The device must be memory-mapped and contain only
8-bit registers (which keeps things simple).

Tested on a Freescale P5020DS board which uses the "PIXIS" FPGA attached
to the localbus.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt [new file with mode: 0644]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/mdio-mux-mmioreg.c [new file with mode: 0644]