diff options
author | Timur Tabi <timur@freescale.com> | 2012-08-24 05:10:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-30 12:54:48 -0400 |
commit | 6cc2ff82492d89f763e69ea6b8681926aceda610 (patch) | |
tree | 37cc43ef6eee4386bc68202f6681507e91bdd20a /drivers/net/phy/Kconfig | |
parent | e92bdf4bf199f582dae8249a21e991db4bf66480 (diff) |
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>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 3090dc65a6f1..983bbf4d5ef6 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig | |||
@@ -159,6 +159,19 @@ config MDIO_BUS_MUX_GPIO | |||
159 | several child MDIO busses to a parent bus. Child bus | 159 | several child MDIO busses to a parent bus. Child bus |
160 | selection is under the control of GPIO lines. | 160 | selection is under the control of GPIO lines. |
161 | 161 | ||
162 | config MDIO_BUS_MUX_MMIOREG | ||
163 | tristate "Support for MMIO device-controlled MDIO bus multiplexers" | ||
164 | depends on OF_MDIO | ||
165 | select MDIO_BUS_MUX | ||
166 | help | ||
167 | This module provides a driver for MDIO bus multiplexers that | ||
168 | are controlled via a simple memory-mapped device, like an FPGA. | ||
169 | The multiplexer connects one of several child MDIO busses to a | ||
170 | parent bus. Child bus selection is under the control of one of | ||
171 | the FPGA's registers. | ||
172 | |||
173 | Currently, only 8-bit registers are supported. | ||
174 | |||
162 | endif # PHYLIB | 175 | endif # PHYLIB |
163 | 176 | ||
164 | config MICREL_KS8995MA | 177 | config MICREL_KS8995MA |