From: David Dueck Date: Tue, 5 Nov 2013 16:23:03 +0000 (+0100) Subject: phy: Use general phy code for smsc lan8720a X-Git-Tag: v2014.01-rc1~2^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f27f3b5266d28b8d3e80e0e8f4cafdd14268b62a;p=platform%2Fkernel%2Fu-boot.git phy: Use general phy code for smsc lan8720a Signed-off-by: David Dueck --- diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 60ed92d..bfd9815 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c @@ -12,6 +12,7 @@ */ #include +/* 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, };