r8169: use helper rtl_is_8168evl_up for setting register MaxTxPacketSize
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 14 Jun 2019 05:55:21 +0000 (07:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jun 2019 15:38:27 +0000 (08:38 -0700)
commit272b2265c87c0934ae2eb309a1be35c2ea92311f
treeeb05441e94c5feb76d53a755d4c6b0d7a6f4dece
parent9e9f33bae81272ca08e5d6a29fce40d4a09fceaf
r8169: use helper rtl_is_8168evl_up for setting register MaxTxPacketSize

>From RTL8168e-vl the value in register MaxTxPacketSize is interpreted
differently, therefore use new helper rtl_is_8168evl_up to set this
register.

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