]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
phy: Use general phy code for smsc lan8720a
authorDavid Dueck <davidcdueck@googlemail.com>
Tue, 5 Nov 2013 16:23:03 +0000 (17:23 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 22 Nov 2013 23:03:20 +0000 (17:03 -0600)
Signed-off-by: David Dueck <davidcdueck@googlemail.com>
drivers/net/phy/smsc.c

index 60ed92d2039ba36846a7ef83ceb870b01bec8795..bfd9815abf9b68dcb52eb11cb5ed9ec38f559c97 100644 (file)
@@ -12,6 +12,7 @@
  */
 #include <miiphy.h>
 
+/* This code does not check the partner abilities. */
 static int smsc_parse_status(struct phy_device *phydev)
 {
        int mii_reg;
@@ -64,7 +65,7 @@ static struct phy_driver lan8710_driver = {
        .mask = 0xffff0,
        .features = PHY_BASIC_FEATURES,
        .config = &genphy_config_aneg,
-       .startup = &smsc_startup,
+       .startup = &genphy_startup,
        .shutdown = &genphy_shutdown,
 };