Commit f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a

Authored by David Dueck
Committed by Joe Hershberger
1 parent 3a530d1b3e

phy: Use general phy code for smsc lan8720a

Signed-off-by: David Dueck <davidcdueck@googlemail.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

drivers/net/phy/smsc.c
... ... @@ -12,6 +12,7 @@
12 12 */
13 13 #include <miiphy.h>
14 14  
  15 +/* This code does not check the partner abilities. */
15 16 static int smsc_parse_status(struct phy_device *phydev)
16 17 {
17 18 int mii_reg;
... ... @@ -64,7 +65,7 @@
64 65 .mask = 0xffff0,
65 66 .features = PHY_BASIC_FEATURES,
66 67 .config = &genphy_config_aneg,
67   - .startup = &smsc_startup,
  68 + .startup = &genphy_startup,
68 69 .shutdown = &genphy_shutdown,
69 70 };
70 71