All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/19] usbnet: smsc95xx: Convert to phydev
@ 2019-01-03  1:10 Marek Vasut
  2019-01-03  1:10   ` [01/19] " Marek Vasut
                   ` (18 more replies)
  0 siblings, 19 replies; 65+ messages in thread
From: Marek Vasut @ 2019-01-03  1:10 UTC (permalink / raw)
  To: netdev
  Cc: Marek Vasut, David S . Miller, Nisar Sayed, Woojung Huh,
	Andrew Lunn, Florian Fainelli, linux-usb

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.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Nisar Sayed <Nisar.Sayed@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-usb@vger.kernel.org
To: netdev@vger.kernel.org

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(-)

-- 
2.19.2

^ permalink raw reply	[flat|nested] 65+ messages in thread

end of thread, other threads:[~2019-01-07 11:50 UTC | newest]

Thread overview: 65+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03  1:10 [PATCH 00/19] usbnet: smsc95xx: Convert to phydev Marek Vasut
2019-01-03  1:10 ` [PATCH 01/19] usbnet: smsc95xx: Fix memory leak in smsc95xx_bind Marek Vasut
2019-01-03  1:10   ` [01/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 02/19] usbnet: smsc95xx: Stop propagation of in_pm Marek Vasut
2019-01-03  1:10   ` [02/19] " Marek Vasut
2019-01-07 11:02   ` [PATCH 02/19] " Oliver Neukum
2019-01-07 11:02     ` [02/19] " Oliver Neukum
2019-01-07 11:50     ` [PATCH 02/19] " Marek Vasut
2019-01-07 11:50       ` [02/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 03/19] usbnet: smsc95xx: Remove smsc95xx_{read,write}_reg_nopm() Marek Vasut
2019-01-03  1:10   ` [03/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 04/19] usbnet: smsc95xx: Remove __smsc95xx_{read,write}_reg() Marek Vasut
2019-01-03  1:10   ` [04/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 05/19] usbnet: smsc95xx: Remove smsc95xx_{read,write}_nopm() Marek Vasut
2019-01-03  1:10   ` [05/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 06/19] usbnet: smsc95xx: Remove __smsc95xx_mdio_{read,write}() Marek Vasut
2019-01-03  1:10   ` [06/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 07/19] usbnet: smsc95xx: Split the reset function Marek Vasut
2019-01-03  1:10   ` [07/19] " Marek Vasut
2019-01-07 11:05   ` [PATCH 07/19] " Oliver Neukum
2019-01-07 11:05     ` [07/19] " Oliver Neukum
2019-01-03  1:10 ` [PATCH 08/19] usbnet: smsc95xx: Register MII bus Marek Vasut
2019-01-03  1:10   ` [08/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 09/19] usbnet: smsc95xx: Connect to phydev Marek Vasut
2019-01-03  1:10   ` [09/19] " Marek Vasut
2019-01-03 13:22   ` [PATCH 09/19] " Andrew Lunn
2019-01-03 13:22     ` [09/19] " Andrew Lunn
2019-01-04  2:18     ` [PATCH 09/19] " Marek Vasut
2019-01-04  2:18       ` [09/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 10/19] usbnet: smsc95xx: Replace smsc95xx_mdio_read() with phy_read() Marek Vasut
2019-01-03  1:10   ` [10/19] " Marek Vasut
2019-01-03 13:39   ` [PATCH 10/19] " Andrew Lunn
2019-01-03 13:39     ` [10/19] " Andrew Lunn
2019-01-04  2:19     ` [PATCH 10/19] " Marek Vasut
2019-01-04  2:19       ` [10/19] " Marek Vasut
2019-01-04 13:24       ` [PATCH 10/19] " Andrew Lunn
2019-01-04 13:24         ` [10/19] " Andrew Lunn
2019-01-04 14:58         ` [PATCH 10/19] " Marek Vasut
2019-01-04 14:58           ` [10/19] " Marek Vasut
2019-01-04 15:57           ` [PATCH 10/19] " Andrew Lunn
2019-01-04 15:57             ` [10/19] " Andrew Lunn
2019-01-04 18:02             ` [PATCH 10/19] " Heiner Kallweit
2019-01-04 18:02               ` [10/19] " Heiner Kallweit
2019-01-03  1:10 ` [PATCH 11/19] usbnet: smsc95xx: Replace smsc95xx_mdio_write() with phy_write() Marek Vasut
2019-01-03  1:10   ` [11/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 12/19] usbnet: smsc95xx: Replace ad-hoc PHY functions with generic ones Marek Vasut
2019-01-03  1:10   ` [12/19] " Marek Vasut
2019-01-03 13:28   ` [PATCH 12/19] " Andrew Lunn
2019-01-03 13:28     ` [12/19] " Andrew Lunn
2019-01-04  2:19     ` [PATCH 12/19] " Marek Vasut
2019-01-04  2:19       ` [12/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 13/19] usbnet: smsc95xx: Replace smsc95xx_link_ok_nopm() Marek Vasut
2019-01-03  1:10   ` [13/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 14/19] usbnet: smsc95xx: Replace mii_nway_restart() Marek Vasut
2019-01-03  1:10   ` [14/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 15/19] usbnet: smsc95xx: Replace mii_ethtool_gset() Marek Vasut
2019-01-03  1:10   ` [15/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 16/19] usbnet: smsc95xx: Replace mii_check_media() Marek Vasut
2019-01-03  1:10   ` [16/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 17/19] usbnet: smsc95xx: Replace generic_mii_ioctl() Marek Vasut
2019-01-03  1:10   ` [17/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 18/19] usbnet: smsc95xx: Remove all of the carrier checking code Marek Vasut
2019-01-03  1:10   ` [18/19] " Marek Vasut
2019-01-03  1:10 ` [PATCH 19/19] usbnet: smsc95xx: Use phy bit operations Marek Vasut
2019-01-03  1:10   ` [19/19] " Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.