ixgbe: correct typo in define name
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 5 Mar 2011 08:02:18 +0000 (08:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 12 Mar 2011 12:14:28 +0000 (04:14 -0800)
VF Free Running Timer register name missing an F.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbevf/ethtool.c
drivers/net/ixgbevf/regs.h

index fa29b3c8c464b60fb8261dff47899aa25a7be55f..0563ab29264e266b614bb4ebc7dce6c2febc35e8 100644 (file)
@@ -172,7 +172,7 @@ static char *ixgbevf_reg_names[] = {
        "IXGBE_VFSTATUS",
        "IXGBE_VFLINKS",
        "IXGBE_VFRXMEMWRAP",
-       "IXGBE_VFRTIMER",
+       "IXGBE_VFFRTIMER",
        "IXGBE_VTEICR",
        "IXGBE_VTEICS",
        "IXGBE_VTEIMS",
@@ -240,7 +240,7 @@ static void ixgbevf_get_regs(struct net_device *netdev,
        regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS);
        regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS);
        regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP);
-       regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFRTIMER);
+       regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFFRTIMER);
 
        /* Interrupt */
        /* don't read EICR because it can clear interrupt causes, instead
index fb80ca1bcc934fe324ebaa6f3adcf4a312a70ae7..189200eeca26616220ae3fab40c2000bedd445b3 100644 (file)
@@ -31,7 +31,7 @@
 #define IXGBE_VFCTRL           0x00000
 #define IXGBE_VFSTATUS         0x00008
 #define IXGBE_VFLINKS          0x00010
-#define IXGBE_VFRTIMER         0x00048
+#define IXGBE_VFFRTIMER        0x00048
 #define IXGBE_VFRXMEMWRAP      0x03190
 #define IXGBE_VTEICR           0x00100
 #define IXGBE_VTEICS           0x00104