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>
This commit is contained in:
Divy Le Ray
2007-03-31 00:23:13 -07:00
committed by Jeff Garzik
parent 59117d3f4e
commit 9f238486f5
3 changed files with 11 additions and 3 deletions

View File

@@ -358,6 +358,9 @@ enum {
MC5_MODE_72_BIT = 2
};
/* MC5 min active region size */
enum { MC5_MIN_TIDS = 16 };
struct vpd_params {
unsigned int cclk;
unsigned int mclk;