lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu,  3 Jan 2019 02:10:21 +0100
From:   Marek Vasut <marex@...x.de>
To:     netdev@...r.kernel.org
Cc:     Marek Vasut <marex@...x.de>,
        "David S . Miller" <davem@...emloft.net>,
        Nisar Sayed <Nisar.Sayed@...rochip.com>,
        Woojung Huh <Woojung.Huh@...rochip.com>,
        Andrew Lunn <andrew@...n.ch>,
        Florian Fainelli <f.fainelli@...il.com>,
        linux-usb@...r.kernel.org
Subject: [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.

Signed-off-by: Marek Vasut <marex@...x.de>
Cc: David S. Miller <davem@...emloft.net>
Cc: Nisar Sayed <Nisar.Sayed@...rochip.com>
Cc: Woojung Huh <Woojung.Huh@...rochip.com>
Cc: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>
Cc: linux-usb@...r.kernel.org
To: netdev@...r.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ