linux/drivers/net/ethernet/realtek
Heiner Kallweit 703732f005 r8169: replace mii_bus member with phy_device member in struct rtl8169_private
Accessing the phy_device indirectly via the netdevice causes few issues:
- Accessing the phy_device when it's not attached may cause a NPE.
- If we have to access the phy_device when it's not attached we have
  to use mdiobus_get_phy() to get a reference to the phy_device.

Therefore store a phy_device reference in struct rtl8169_private directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-19 16:09:14 -08:00
..
8139cp.c net: 8139cp: fix a BUG triggered by changing mtu with network traffic 2018-12-03 13:53:08 -08:00
8139too.c ethernet/realtek: Replace synchronize_sched() with synchronize_rcu() 2018-11-27 09:21:37 -08:00
atp.c drivers: net: atp: fix various indentation issues 2019-01-16 14:04:22 -08:00
atp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig r8169: add missing Kconfig dependency 2018-08-17 12:24:13 -07:00
Makefile
r8169.c r8169: replace mii_bus member with phy_device member in struct rtl8169_private 2019-01-19 16:09:14 -08:00