diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-11-07 06:53:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-10 23:28:50 -0500 |
commit | 34336ec032878d1a32e7df881f16ce2145e53f83 (patch) | |
tree | 72fb084316a285f16ffd1a87c7e9e7e803c38c32 /drivers/net/cxgb3/common.h | |
parent | 45229b420f90bb6736dfeb7e491eb46cb02a3e9c (diff) |
cxgb3: declare MODULE_FIRMWARE
Replace run-time string formatting with preprocessor string
manipulation.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index 1b2c305fb82b..6ff356d4c7ab 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h | |||
@@ -125,11 +125,9 @@ enum { /* adapter interrupt-maintained statistics */ | |||
125 | IRQ_NUM_STATS /* keep last */ | 125 | IRQ_NUM_STATS /* keep last */ |
126 | }; | 126 | }; |
127 | 127 | ||
128 | enum { | 128 | #define TP_VERSION_MAJOR 1 |
129 | TP_VERSION_MAJOR = 1, | 129 | #define TP_VERSION_MINOR 1 |
130 | TP_VERSION_MINOR = 1, | 130 | #define TP_VERSION_MICRO 0 |
131 | TP_VERSION_MICRO = 0 | ||
132 | }; | ||
133 | 131 | ||
134 | #define S_TP_VERSION_MAJOR 16 | 132 | #define S_TP_VERSION_MAJOR 16 |
135 | #define M_TP_VERSION_MAJOR 0xFF | 133 | #define M_TP_VERSION_MAJOR 0xFF |