cpmac: fix wrong MDIO bus identifier
authorFlorian Fainelli <florian@openwrt.org>
Tue, 4 Aug 2009 10:52:41 +0000 (10:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Aug 2009 19:20:57 +0000 (12:20 -0700)
commitd76c626b922e279c7764ec46fb1b9bbd41538f35
tree986ab4d02541db65c35888d851a8392f852fcfee
parent36cbd3dcc10384f813ec0814255f576c84f2bcd4
cpmac: fix wrong MDIO bus identifier

This patch fixes the wrong MDIO bus identifier which was
set to 0 unconditionaly, suitable for external switches while
it is actually 1 for PHYs different than external switches
which are autodetected.

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