ixgbe: fix FCRTL/H register dump for X540
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 27 Jul 2011 04:16:29 +0000 (04:16 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 17 Sep 2011 02:04:06 +0000 (19:04 -0700)
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

index 46f4ecf1bba338092939fbb8402b67d4533e14cf..63cd2a11ff1eeaf7163799f9b7b7707adcf94a5b 100644 (file)
@@ -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;