diff options
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c index c80fa0007904..44a07a9dcbc1 100644 --- a/drivers/net/ixgb/ixgb_ethtool.c +++ b/drivers/net/ixgb/ixgb_ethtool.c | |||
@@ -301,7 +301,8 @@ ixgb_get_regs(struct net_device *netdev, | |||
301 | *reg++ = IXGB_READ_REG(hw, RAIDC); /* 19 */ | 301 | *reg++ = IXGB_READ_REG(hw, RAIDC); /* 19 */ |
302 | *reg++ = IXGB_READ_REG(hw, RXCSUM); /* 20 */ | 302 | *reg++ = IXGB_READ_REG(hw, RXCSUM); /* 20 */ |
303 | 303 | ||
304 | for (i = 0; i < IXGB_RAR_ENTRIES; i++) { | 304 | /* there are 16 RAR entries in hardware, we only use 3 */ |
305 | for(i = 0; i < 16; i++) { | ||
305 | *reg++ = IXGB_READ_REG_ARRAY(hw, RAL, (i << 1)); /*21,...,51 */ | 306 | *reg++ = IXGB_READ_REG_ARRAY(hw, RAL, (i << 1)); /*21,...,51 */ |
306 | *reg++ = IXGB_READ_REG_ARRAY(hw, RAH, (i << 1)); /*22,...,52 */ | 307 | *reg++ = IXGB_READ_REG_ARRAY(hw, RAH, (i << 1)); /*22,...,52 */ |
307 | } | 308 | } |