net: phy: replace genphy_10g_driver with genphy_c45_driver
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 7 Apr 2019 11:55:01 +0000 (13:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 23:24:05 +0000 (16:24 -0700)
commit22b56e827093dd1af2379d294aba7d629b3f3436
tree7ac7c645989e143c593e6121bf80eb5edd57147b
parent5af82f5205f156977fed1c8d2f214f1c58fb263b
net: phy: replace genphy_10g_driver with genphy_c45_driver

Recently a number of generic functions for Clause 45 PHY's has been
added. So let's replace the old very limited genphy_10g_driver with a
genphy_c45_driver. This driver isn't limited to 10G, however it's worth
to be noted that Clause 45 doesn't cover 1000Base-T. For using
1000Base-T with a Clause 45 PHY a dedicated PHY driver using vendor
registers is needed.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-c45.c
drivers/net/phy/phy_device.c