diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-03-05 03:02:18 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-12 07:14:28 -0500 |
commit | 6fb456a07c68913516da9de90d3849ee9821dea8 (patch) | |
tree | 58a0d803bf622c73df3019c403694f9b6dbb8d8d | |
parent | 9dda173667207fe59d380e522d318c144dc032f7 (diff) |
ixgbe: correct typo in define name
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>
-rw-r--r-- | drivers/net/ixgbevf/ethtool.c | 4 | ||||
-rw-r--r-- | drivers/net/ixgbevf/regs.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbevf/ethtool.c b/drivers/net/ixgbevf/ethtool.c index fa29b3c8c464..0563ab29264e 100644 --- a/drivers/net/ixgbevf/ethtool.c +++ b/drivers/net/ixgbevf/ethtool.c | |||
@@ -172,7 +172,7 @@ static char *ixgbevf_reg_names[] = { | |||
172 | "IXGBE_VFSTATUS", | 172 | "IXGBE_VFSTATUS", |
173 | "IXGBE_VFLINKS", | 173 | "IXGBE_VFLINKS", |
174 | "IXGBE_VFRXMEMWRAP", | 174 | "IXGBE_VFRXMEMWRAP", |
175 | "IXGBE_VFRTIMER", | 175 | "IXGBE_VFFRTIMER", |
176 | "IXGBE_VTEICR", | 176 | "IXGBE_VTEICR", |
177 | "IXGBE_VTEICS", | 177 | "IXGBE_VTEICS", |
178 | "IXGBE_VTEIMS", | 178 | "IXGBE_VTEIMS", |
@@ -240,7 +240,7 @@ static void ixgbevf_get_regs(struct net_device *netdev, | |||
240 | regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS); | 240 | regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS); |
241 | regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS); | 241 | regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS); |
242 | regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP); | 242 | regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP); |
243 | regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFRTIMER); | 243 | regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFFRTIMER); |
244 | 244 | ||
245 | /* Interrupt */ | 245 | /* Interrupt */ |
246 | /* don't read EICR because it can clear interrupt causes, instead | 246 | /* don't read EICR because it can clear interrupt causes, instead |
diff --git a/drivers/net/ixgbevf/regs.h b/drivers/net/ixgbevf/regs.h index fb80ca1bcc93..189200eeca26 100644 --- a/drivers/net/ixgbevf/regs.h +++ b/drivers/net/ixgbevf/regs.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #define IXGBE_VFCTRL 0x00000 | 31 | #define IXGBE_VFCTRL 0x00000 |
32 | #define IXGBE_VFSTATUS 0x00008 | 32 | #define IXGBE_VFSTATUS 0x00008 |
33 | #define IXGBE_VFLINKS 0x00010 | 33 | #define IXGBE_VFLINKS 0x00010 |
34 | #define IXGBE_VFRTIMER 0x00048 | 34 | #define IXGBE_VFFRTIMER 0x00048 |
35 | #define IXGBE_VFRXMEMWRAP 0x03190 | 35 | #define IXGBE_VFRXMEMWRAP 0x03190 |
36 | #define IXGBE_VTEICR 0x00100 | 36 | #define IXGBE_VTEICR 0x00100 |
37 | #define IXGBE_VTEICS 0x00104 | 37 | #define IXGBE_VTEICS 0x00104 |