aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-03-31 03:23:13 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-03 22:31:09 -0400
commit9f238486f5438b2e44f760b11fa3a08714c1ddb6 (patch)
tree4db457aaedba5c4af8f6b397ef34dcc46462bf7b /drivers/net/cxgb3/common.h
parent59117d3f4e3f5a7980353d2f476e516c758ce921 (diff)
cxgb3 - Safeguard TCAM size usage
Ensure that the TCAM active region size is at least 16. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 85e5543cfb57..38a0565ad1c1 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -358,6 +358,9 @@ enum {
358 MC5_MODE_72_BIT = 2 358 MC5_MODE_72_BIT = 2
359}; 359};
360 360
361/* MC5 min active region size */
362enum { MC5_MIN_TIDS = 16 };
363
361struct vpd_params { 364struct vpd_params {
362 unsigned int cclk; 365 unsigned int cclk;
363 unsigned int mclk; 366 unsigned int mclk;