cxgb3 - Add T3C rev
authorDivy Le Ray <divy@chelsio.com>
Wed, 5 Sep 2007 22:58:36 +0000 (15:58 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:06 +0000 (16:51 -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 7e9e43d1074e3c2aa03664c5521c160c44f29fec..d3f276c2c01dd2408fa064dcd6d907726bf15c9d 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 8f1d602a883a329598d21a362a61ecebfd6db0c9..a6723ae79bdd35ad303c3971ab91bb4968f61727 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;
 }