diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-12 11:03:47 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-16 04:20:52 -0500 |
commit | fc8f5aded1cf9f5505c55694b36174621c7ac88c (patch) | |
tree | 9d27d420875319912d21537261bb1a45b8590223 /drivers/net/ethernet/marvell/Kconfig | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) |
net: mvmdio: new Marvell MDIO driver
This patch adds a separate driver for the MDIO interface of the
Marvell Ethernet controllers. There are two reasons to have a separate
driver rather than including it inside the MAC driver itself:
*) The MDIO interface is shared by all Ethernet ports, so a driver
must guarantee non-concurrent accesses to this MDIO interface. The
most logical way is to have a separate driver that handles this
single MDIO interface, used by all Ethernet ports.
*) The MDIO interface is the same between the existing mv643xx_eth
driver and the new mvneta driver. Even though it is for now only
used by the mvneta driver, it will in the future be used by the
mv643xx_eth driver as well.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/Kconfig')
-rw-r--r-- | drivers/net/ethernet/marvell/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig index 0029934748bc..232ccb3cb08b 100644 --- a/drivers/net/ethernet/marvell/Kconfig +++ b/drivers/net/ethernet/marvell/Kconfig | |||
@@ -31,6 +31,17 @@ config MV643XX_ETH | |||
31 | Some boards that use the Discovery chipset are the Momenco | 31 | Some boards that use the Discovery chipset are the Momenco |
32 | Ocelot C and Jaguar ATX and Pegasos II. | 32 | Ocelot C and Jaguar ATX and Pegasos II. |
33 | 33 | ||
34 | config MVMDIO | ||
35 | tristate "Marvell MDIO interface support" | ||
36 | ---help--- | ||
37 | This driver supports the MDIO interface found in the network | ||
38 | interface units of the Marvell EBU SoCs (Kirkwood, Orion5x, | ||
39 | Dove, Armada 370 and Armada XP). | ||
40 | |||
41 | For now, this driver is only needed for the MVNETA driver | ||
42 | (used on Armada 370 and XP), but it could be used in the | ||
43 | future by the MV643XX_ETH driver. | ||
44 | |||
34 | config PXA168_ETH | 45 | config PXA168_ETH |
35 | tristate "Marvell pxa168 ethernet support" | 46 | tristate "Marvell pxa168 ethernet support" |
36 | depends on CPU_PXA168 | 47 | depends on CPU_PXA168 |