]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
r8169: replace magic numbers with PCI MRRS constant
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 16 Apr 2018 19:38:27 +0000 (21:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:55:04 +0000 (18:55 -0400)
commit8d98aa39b8d497e4c3da8c3973456ff710b68693
tree52a99ad473ddbf444fd753c020b05b4abdadca01
parenta5724fc3834643a975bd0db71f001ca65f4a8382
r8169: replace magic numbers with PCI MRRS constant

Replace magic number "0x5 << MAX_READ_REQUEST_SHIFT" with the
appropriate constant as defined in PCI core.

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