net: davinci_emac: separate out davinci mdio
authorCyril Chemparathy <cyril@ti.com>
Wed, 15 Sep 2010 14:11:21 +0000 (10:11 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 14:40:29 +0000 (07:40 -0700)
commitf20136eb03a1dbdfb04f3c62fd11c0d02d02b726
tree69c5ffafd16d723dc365f4bec5454cdce8b36f84
parent8774882394190fe52d1df449b1e1c6cff9c3088c
net: davinci_emac: separate out davinci mdio

Davinci's MDIO controller is present on other TI devices, without an
accompanying EMAC.  For example, on tnetv107x, the same MDIO module is used in
conjunction with a 3-port switch hardware.

By separating the MDIO controller code into its own platform driver, this
patch allows common logic to be reused on such platforms.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Caglar Akyuz <caglarakyuz@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/davinci_mdio.c [new file with mode: 0644]
include/linux/davinci_emac.h