]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: add rtl_enable_exit_l1
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 25 Aug 2021 16:29:48 +0000 (18:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2021 11:05:43 +0000 (12:05 +0100)
commit4b33433ee734661e5d50851f9bbe7934fc2b1928
tree7c98f6d681e3823dd6adfca0ad97d0cc4c115c58
parent9af771d2ec044ffc19192711ac29f1d5c31dc181
r8169: add rtl_enable_exit_l1

This adds a function for what has been magic register writes so far.
It's based on recent changes to vendor drivers r8101, r8168, r8125,
and deals with events that trigger an early ASPM L1 exit.
Description of the bits has been kindly provided by Realtek.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c