summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/Makefile
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-12 17:03:47 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-16 10:20:52 +0100
commitfc8f5aded1cf9f5505c55694b36174621c7ac88c (patch)
tree9d27d420875319912d21537261bb1a45b8590223 /drivers/net/ethernet/marvell/Makefile
parentLinux 3.7-rc5 (diff)
downloadlinux-fc8f5aded1cf9f5505c55694b36174621c7ac88c.tar.xz
linux-fc8f5aded1cf9f5505c55694b36174621c7ac88c.zip
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/Makefile')
-rw-r--r--drivers/net/ethernet/marvell/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/Makefile b/drivers/net/ethernet/marvell/Makefile
index 57e3234a37ba..0438599fba47 100644
--- a/drivers/net/ethernet/marvell/Makefile
+++ b/drivers/net/ethernet/marvell/Makefile
@@ -3,6 +3,7 @@
#
obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o
+obj-$(CONFIG_MVMDIO) += mvmdio.o
obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
obj-$(CONFIG_SKGE) += skge.o
obj-$(CONFIG_SKY2) += sky2.o