smc911x: Add support for LAN921{5,7,8} chips from SMSC
LAN92{5,7,8} chips from SMSC are register compatible with LAN911{5,6,7,8} controllers, and only add support for HP Auto-MDIX. LAN9218 doesn't have an external MII interface. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
97e92d9d4b
commit
c6dcb82788
@ -685,8 +685,10 @@ static void smc911x_phy_detect(struct net_device *dev)
|
||||
* PHY#1 to PHY#31, and then PHY#0 last.
|
||||
*/
|
||||
switch(lp->version) {
|
||||
case 0x115:
|
||||
case 0x117:
|
||||
case CHIP_9115:
|
||||
case CHIP_9117:
|
||||
case CHIP_9215:
|
||||
case CHIP_9217:
|
||||
cfg = SMC_GET_HW_CFG(lp);
|
||||
if (cfg & HW_CFG_EXT_PHY_DET_) {
|
||||
cfg &= ~HW_CFG_PHY_CLK_SEL_;
|
||||
|
Reference in New Issue
Block a user