]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: read common register for PCI commit
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 28 Aug 2019 20:26:51 +0000 (22:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 00:47:27 +0000 (17:47 -0700)
commit97a3c1066dbaa057877eef79b74fcf74ba8a5b1e
treee76fec9ff4acb2df0f78e8bc2d66d6a16d2a9268
parentd1f249a100d6f6b9b9fda1a7343a38a306571073
r8169: read common register for PCI commit

RTL8125 uses a different register number for IntrMask.
To net have side effects by reading a random register let's
use a register that is the same on all supported chip families.

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