cxgb3 - Add T3C rev
Divy Le Ray [Wed, 5 Sep 2007 22:58:36 +0000 (15:58 -0700)]
add driver recognition for T3C rev board.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

drivers/net/cxgb3/common.h
drivers/net/cxgb3/cxgb3_main.c

index 7e9e43d..d3f276c 100644 (file)
@@ -438,6 +438,7 @@ enum {                                          /* chip revisions */
        T3_REV_A  = 0,
        T3_REV_B  = 2,
        T3_REV_B2 = 3,
+       T3_REV_C  = 4,
 };
 
 struct trace_params {
index 8f1d602..a6723ae 100644 (file)
@@ -733,6 +733,9 @@ static inline char t3rev2char(struct adapter *adapter)
        case T3_REV_B2:
                rev = 'b';
                break;
+       case T3_REV_C:
+               rev = 'c';
+               break;
        }
        return rev;
 }