Skip to contentSkip to conversation

cxgb3 - Add T3C rev

PATCH In review Divy Le Ray 1 participant 1 message Sep 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/7 cxgb3 - Add T3C rev

From: Divy Le Ray <[email protected]>

add driver recognition for T3C rev board.

---

 drivers/net/cxgb3/common.h     |    1 +
 drivers/net/cxgb3/cxgb3_main.c |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
drivers/net/cxgb3/common.h +1 -0
index 7e9e43d..d3f276c 100644
@@ -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 {
drivers/net/cxgb3/cxgb3_main.c +3 -0
index ae9c213..9d360eb 100644
@@ -768,6 +768,9 @@ static inline char t3rev2char(struct adapter *adapter)
 	case T3_REV_B2:
 		rev = 'b';
 		break;
+	case T3_REV_C:
+		rev = 'c';
+		break;
 	}
 	return rev;
 }