usbnet: smsc95xx: Convert to phydev
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 13 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/19] usbnet: smsc95xx: Convert to phydev
This series first cleans up the in_pm variable and _nopm() functions, in preparations for conversion to phy_device instead of ad-hoc PHY configuration.
This is followed by a registration of an MDIO bus, attaching a PHY device to it and conversion and cleanup of assorted functions to use the new PHY device functions.
This patchset also allows using other PHYs but the internal one, since the PHY code scans for the first available PHY, however the code was only tested with the internal PHY on a RasPi B+ thus far, as that is the most common use for this device it seems.
Marek Vasut (19):
usbnet: smsc95xx: Fix memory leak in smsc95xx_bind
usbnet: smsc95xx: Stop propagation of in_pm
usbnet: smsc95xx: Remove smsc95xx_{read,write}_reg_nopm()
usbnet: smsc95xx: Remove __smsc95xx_{read,write}_reg()
usbnet: smsc95xx: Remove smsc95xx_{read,write}_nopm()
usbnet: smsc95xx: Remove __smsc95xx_mdio_{read,write}()
usbnet: smsc95xx: Split the reset function
usbnet: smsc95xx: Register MII bus
usbnet: smsc95xx: Connect to phydev
usbnet: smsc95xx: Replace smsc95xx_mdio_read() with phy_read()
usbnet: smsc95xx: Replace smsc95xx_mdio_write() with phy_write()
usbnet: smsc95xx: Replace ad-hoc PHY functions with generic ones
usbnet: smsc95xx: Replace smsc95xx_link_ok_nopm()
usbnet: smsc95xx: Replace mii_nway_restart()
usbnet: smsc95xx: Replace mii_ethtool_gset()
usbnet: smsc95xx: Replace mii_check_media()
usbnet: smsc95xx: Replace generic_mii_ioctl()
usbnet: smsc95xx: Remove all of the carrier checking code
usbnet: smsc95xx: Use phy bit operations
drivers/net/usb/smsc95xx.c | 478 ++++++++++++++++++------------------- 1 file changed, 229 insertions(+), 249 deletions(-)
Signature · 1 line
2.19.2