From: Wenzhuo Lu Date: Wed, 24 Jun 2015 03:26:01 +0000 (+0800) Subject: ixgbe/base: add macros for X550em bus speed fuse X-Git-Tag: spdx-start~8952 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2bbe36aaa016f05165cf4548ffebfb508be5d896;p=dpdk.git ixgbe/base: add macros for X550em bus speed fuse x550em has two different bus speeds, 300 MHz and 400 MHz. A bit in a fuse register tells which it is, with a 1 meaning the bus is running at 300 MHz. Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang --- diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index fb27946aa0..1f73e1f8ed 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -3832,6 +3832,8 @@ struct ixgbe_hw { #define IXGBE_NOT_IMPLEMENTED 0x7FFFFFFF +#define IXGBE_FUSES0_GROUP(_i) (0x11158 + ((_i) * 4)) +#define IXGBE_FUSES0_300MHZ (1 << 5) #define IXGBE_KRM_PORT_CAR_GEN_CTRL(P) ((P) ? 0x8010 : 0x4010) #define IXGBE_KRM_LINK_CTRL_1(P) ((P) ? 0x820C : 0x420C)