diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-06-02 12:44:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 10:28:28 (GMT) |
commit | a1868dc2878e61778b9d6d8c61d5368e51d68a29 (patch) | |
tree | ef829861e7d437ed2d62d74fb01601c8f8bba69e /drivers/net/ixgbe/ixgbe_type.h | |
parent | db2c24175d149b55784f7cb2c303622ce962c1ae (diff) | |
download | linux-fsl-qoriq-a1868dc2878e61778b9d6d8c61d5368e51d68a29.tar.xz |
ixgbe: return IXGBE_ERR_RAR_INDEX when out of range
Based on original patch from Shirley Ma <xma@us.ibm.com>
Return IXGBE_ERR_RAR_INDEX when RAR index is out of range, instead of
returning IXGBE_SUCCESS.
CC: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_type.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h index 2eb6e15..cdd1998 100644 --- a/drivers/net/ixgbe/ixgbe_type.h +++ b/drivers/net/ixgbe/ixgbe_type.h @@ -2609,6 +2609,7 @@ struct ixgbe_info { #define IXGBE_ERR_EEPROM_VERSION -24 #define IXGBE_ERR_NO_SPACE -25 #define IXGBE_ERR_OVERTEMP -26 +#define IXGBE_ERR_RAR_INDEX -27 #define IXGBE_NOT_IMPLEMENTED 0x7FFFFFFF #endif /* _IXGBE_TYPE_H_ */ |