From: Florian Fainelli Date: Sun, 7 Mar 2010 00:55:47 +0000 (+0000) Subject: cpmac: fallback to switch mode if no PHY chip found X-Git-Tag: v2.6.34-rc2~48^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fba1c31f4f3f9f860a4afee0b409cde27d06741;p=pandora-kernel.git cpmac: fallback to switch mode if no PHY chip found If we were unable to detect a PHY on any of the MDIO bus id we tried instead of bailing out with -ENODEV, assume the MAC is connected to a switch and use MDIO bus 0. This unbreaks quite a lot of devices out there whose switch cannot be detected. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed