summaryrefslogtreecommitdiffstats
path: root/drivers/net/ni52.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2009-01-27 06:51:11 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-01 00:37:21 -0800
commitd23f028a4ddce8b783c212bfe911d1d307ff3617 (patch)
tree95166b84758afba8fdbbf4ce2fdb4dd3b5a4ccac /drivers/net/ni52.h
parente81259b4f7c69a71d92216ba551731fb7027bcbe (diff)
downloadtalos-op-linux-d23f028a4ddce8b783c212bfe911d1d307ff3617.tar.gz
talos-op-linux-d23f028a4ddce8b783c212bfe911d1d307ff3617.zip
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 <steve.glendinning@smsc.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ni52.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud