net: davinci_emac: switch to new mdio
authorCyril Chemparathy <cyril@ti.com>
Wed, 15 Sep 2010 14:11:24 +0000 (10:11 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 14:40:30 +0000 (07:40 -0700)
commit5d69e0076a726588265af040b21ac3f8266856d1
tree8267790f6468ab07c232c147dec3f9a2ad88dee9
parent433cdb0ac4c4660e98412e441589a7a712010325
net: davinci_emac: switch to new mdio

This patch switches the emac implementation over to the newly separated
MDIO driver.

With this, the mdio bus frequency defaults to a safe 2.2MHz.  Boards may
optionally specify a bus frequency via platform data.

The phy identification scheme has been modified to use a phy bus id instead
of a mask.  This largely serves to eliminate the "phy search" code in emac
init.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: David S. Miller <davem@davemloft.net>
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/davinci_emac.c
include/linux/davinci_emac.h