linux-stable/drivers/net/ethernet/realtek
Heiner Kallweit ce870af395 r8169: reset bus if NIC isn't accessible after tx timeout
ASPM issues may result in the NIC not being accessible any longer.
In this case disabling ASPM may not work. Therefore detect this case
by checking whether register reads return ~0, and try to make the
NIC accessible again by resetting the secondary bus.

v2:
- add exception handling for the case that pci_reset_bus() fails

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-16 13:38:28 +00:00
..
8139cp.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
8139too.c net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers). 2022-10-28 20:13:54 -07:00
atp.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
atp.h net: wan: atp: remove unused eeprom_delay() 2022-04-26 17:09:23 -07:00
Kconfig
Makefile
r8169.h r8169: merge support for chip versions 10, 13, 16 2022-09-08 13:12:32 +02:00
r8169_firmware.c
r8169_firmware.h
r8169_main.c r8169: reset bus if NIC isn't accessible after tx timeout 2023-01-16 13:38:28 +00:00
r8169_phy_config.c r8169: merge support for chip versions 10, 13, 16 2022-09-08 13:12:32 +02:00