]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
r8169: improve handling CPCMD_MASK
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 26 Apr 2020 21:35:59 +0000 (23:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 18:48:47 +0000 (11:48 -0700)
commit975e8505e6701c77b43bcdd5acc48d3735063b68
treeed663732c3a1a72804e68143c190aa66de54d7b0
parent45c9cbec425c65f89d610993605933ceaa8add87
r8169: improve handling CPCMD_MASK

It's sufficient to do the masking once in probe() for clearing
unwanted bits that may have been set by the BIOS.

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