From a0fd381fc60460a23d85c71ea06af0daa2427b2c Mon Sep 17 00:00:00 2001 From: Arno Steffens Date: Thu, 25 Jan 2018 13:08:35 +0100 Subject: [PATCH] net: phy: smsc: Add SMSC LAN8741 support Signed-off-by: Arno Steffens Acked-by: Joe Hershberger --- drivers/net/phy/smsc.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; -- 2.25.1