cpmac: add support for fixed PHY
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Aug 2009 10:52:52 +0000 (10:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Aug 2009 19:22:10 +0000 (12:22 -0700)
commit76e61eaa55e33ea51205fad633393d1ae10311c5
treef34aeb2da240ae791dcfd78716bb28247fd412ee
parent1e2c8d830a74c24ccb25601bd89dcd0dbcb4e9f5
cpmac: add support for fixed PHY

This patch adds support for fixed PHY connected in MII mode
to cpmac. We allow external and dumb_switch module parameters
to override the PHY detection process since they are always connected
with MDIO bus identifier 0. This lets fixed PHYs to be detected
correctly and be connected to the their corresponding MDIO
bus identifier.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cpmac.c