]> git.karo-electronics.de Git - linux-beck.git/commit
net: mvmdio: new Marvell MDIO driver
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 Nov 2012 16:03:47 +0000 (17:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Nov 2012 09:20:52 +0000 (10:20 +0100)
commitfc8f5aded1cf9f5505c55694b36174621c7ac88c
tree9d27d420875319912d21537261bb1a45b8590223
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
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>
Documentation/devicetree/bindings/net/marvell-orion-mdio.txt [new file with mode: 0644]
drivers/net/ethernet/marvell/Kconfig
drivers/net/ethernet/marvell/Makefile
drivers/net/ethernet/marvell/mvmdio.c [new file with mode: 0644]