diff options
-rw-r--r-- | drivers/net/cxgb3/common.h | 1 | ||||
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index 7e9e43d1074e..d3f276c2c01d 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h | |||
@@ -438,6 +438,7 @@ enum { /* chip revisions */ | |||
438 | T3_REV_A = 0, | 438 | T3_REV_A = 0, |
439 | T3_REV_B = 2, | 439 | T3_REV_B = 2, |
440 | T3_REV_B2 = 3, | 440 | T3_REV_B2 = 3, |
441 | T3_REV_C = 4, | ||
441 | }; | 442 | }; |
442 | 443 | ||
443 | struct trace_params { | 444 | struct trace_params { |
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 8f1d602a883a..a6723ae79bdd 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c | |||
@@ -733,6 +733,9 @@ static inline char t3rev2char(struct adapter *adapter) | |||
733 | case T3_REV_B2: | 733 | case T3_REV_B2: |
734 | rev = 'b'; | 734 | rev = 'b'; |
735 | break; | 735 | break; |
736 | case T3_REV_C: | ||
737 | rev = 'c'; | ||
738 | break; | ||
736 | } | 739 | } |
737 | return rev; | 740 | return rev; |
738 | } | 741 | } |