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)
commit7366016d2d4c7b2e5168db6fa7920fa094561db5
treee76fec9ff4acb2df0f78e8bc2d66d6a16d2a9268
parentbcf2b868a5ae8b9b332176b65247953176630990
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