r8169: improve setting interrupt mask
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 10 Jun 2019 16:21:50 +0000 (18:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:37:34 +0000 (10:37 -0700)
commitec9a40881732c834fe7ffe224981a35043e6a725
treefecce9a4817b9fc67b8c8b23c0e0c988535e5f82
parenta248384e6420ebda63f788d33fac1c0a081e57a8
r8169: improve setting interrupt mask

So far several places in the code deal with setting the interrupt mask
for the respective chip versions. Improve this by having one function
for this only. In addition don't set RxFIFOOver for all 8101 chip
versions like in the vendor driver.

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