cxgb3 - Add T3C rev
add driver recognition for T3C rev board. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Родитель
bb9366af7b
Коммит
1aafee2657
|
@ -438,6 +438,7 @@ enum { /* chip revisions */
|
||||||
T3_REV_A = 0,
|
T3_REV_A = 0,
|
||||||
T3_REV_B = 2,
|
T3_REV_B = 2,
|
||||||
T3_REV_B2 = 3,
|
T3_REV_B2 = 3,
|
||||||
|
T3_REV_C = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct trace_params {
|
struct trace_params {
|
||||||
|
|
|
@ -733,6 +733,9 @@ static inline char t3rev2char(struct adapter *adapter)
|
||||||
case T3_REV_B2:
|
case T3_REV_B2:
|
||||||
rev = 'b';
|
rev = 'b';
|
||||||
break;
|
break;
|
||||||
|
case T3_REV_C:
|
||||||
|
rev = 'c';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return rev;
|
return rev;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче