diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-09-05 15:58:36 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:51:06 -0700 |
commit | 1aafee265723818d903766212015b6116885bc6f (patch) | |
tree | 276b31e5a1ac2d9f63fdd8c3cb436d3a28860c1d /drivers/net/cxgb3 | |
parent | bb9366af7b4addb27156585baccadc4b6d30f223 (diff) | |
download | op-kernel-dev-1aafee265723818d903766212015b6116885bc6f.zip op-kernel-dev-1aafee265723818d903766212015b6116885bc6f.tar.gz |
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>
Diffstat (limited to 'drivers/net/cxgb3')
-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 7e9e43d..d3f276c 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h @@ -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 { diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 8f1d602..a6723ae 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) case T3_REV_B2: rev = 'b'; break; + case T3_REV_C: + rev = 'c'; + break; } return rev; } |