From: Emil Tantilov Date: Wed, 27 Jul 2011 04:16:29 +0000 (+0000) Subject: ixgbe: fix FCRTL/H register dump for X540 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80bb25e3eb73f4fdde48ee017da04b947cec8b90;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ixgbe: fix FCRTL/H register dump for X540 Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c index 46f4ecf1bba3..63cd2a11ff1e 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c @@ -529,6 +529,7 @@ static void ixgbe_get_regs(struct net_device *netdev, regs_buff[43 + i] = IXGBE_READ_REG(hw, IXGBE_FCRTH(i)); break; case ixgbe_mac_82599EB: + case ixgbe_mac_X540: regs_buff[35 + i] = IXGBE_READ_REG(hw, IXGBE_FCRTL_82599(i)); regs_buff[43 + i] = IXGBE_READ_REG(hw, IXGBE_FCRTH_82599(i)); break;