net: phy: smsc: Implement PHY config_init for LAN87xx
authorMarek Vasut <marex@denx.de>
Tue, 25 Sep 2012 10:17:42 +0000 (10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 22:28:30 +0000 (18:28 -0400)
commitb629820d18fa65cc598390e4b9712fd5f83ee693
tree34cc908d5397020523e2573f98e033b684c146e2
parenta3cff128c970da8400875c8893d68ac735e783fb
net: phy: smsc: Implement PHY config_init for LAN87xx

The LAN8710/LAN8720 chips do have broken the "FlexPWR" smart power-saving
capability. Enabling it leads to the PHY not being able to detect Link when
cold-started without cable connected. Thus, make sure this is disabled.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Christian Hohnstaedt <chohnstaedt@innominate.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c