From: Arno Steffens Date: Thu, 25 Jan 2018 12:08:35 +0000 (+0100) Subject: net: phy: smsc: Add SMSC LAN8741 support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a0fd381fc60460a23d85c71ea06af0daa2427b2c;p=u-boot.git net: phy: smsc: Add SMSC LAN8741 support Signed-off-by: Arno Steffens Acked-by: Joe Hershberger --- diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 41ffbe9d0e..73ed144061 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c @@ -83,6 +83,16 @@ static struct phy_driver lan8740_driver = { .shutdown = &genphy_shutdown, }; +static struct phy_driver lan8741_driver = { + .name = "SMSC LAN8741", + .uid = 0x0007c120, + .mask = 0xffff0, + .features = PHY_BASIC_FEATURES, + .config = &genphy_config_aneg, + .startup = &genphy_startup, + .shutdown = &genphy_shutdown, +}; + static struct phy_driver lan8742_driver = { .name = "SMSC LAN8742", .uid = 0x0007c130, @@ -99,6 +109,7 @@ int phy_smsc_init(void) phy_register(&lan911x_driver); phy_register(&lan8700_driver); phy_register(&lan8740_driver); + phy_register(&lan8741_driver); phy_register(&lan8742_driver); return 0;