r8169: fix ASPM-related problem for chip version 42 and 43
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 14 Jul 2023 05:39:36 +0000 (07:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 06:47:39 +0000 (07:47 +0100)
commit162d626f3013215b82b6514ca14f20932c7ccce5
tree675bd9c5836c07a58171f375593ecfb37d57c431
parent4bdf79d686b49ac49373b36466acfb93972c7d7c
r8169: fix ASPM-related problem for chip version 42 and 43

Referenced commit missed that for chip versions 42 and 43 ASPM
remained disabled in the respective rtl_hw_start_...() routines.
This resulted in problems as described in the referenced bug
ticket. Therefore re-instantiate the previous logic.

Fixes: 5fc3f6c90cca ("r8169: consolidate disabling ASPM before EPHY access")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217635
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c