From: Steve Glendinning Date: Tue, 27 Jan 2009 06:51:11 +0000 (+0000) Subject: smsc911x: add external phy detection overrides X-Git-Tag: v2.6.30-rc1~662^2~867 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23f028a4ddce8b783c212bfe911d1d307ff3617;p=pandora-kernel.git smsc911x: add external phy detection overrides On LAN9115/LAN9117/LAN9215/LAN9217, external phys are supported. These are usually indicated by a hardware strap which sets an "external PHY detected" bit in the HW_CFG register. In some cases it is desirable to override this hardware strap and force use of either the internal phy or an external PHY. This patch adds SMSC911X_FORCE_INTERNAL_PHY and SMSC911X_FORCE_EXTERNAL_PHY flags so a platform can indicate this preference via its platform_data. Signed-off-by: Steve Glendinning Acked-by: Sascha Hauer Tested-by: Sascha Hauer Signed-off-by: David S. Miller --- Reading git-diff-tree failed