]> git.baikalelectronics.ru Git - 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)
commitbaad07a7fc404673ad657d8184182ca7c49dd27b
tree52a99ad473ddbf444fd753c020b05b4abdadca01
parentafd2979785738ca7f6e7f582f07b973ae4dd7693
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