From ed3e2dff4b8015f6b024c7e85202510ca35c93cd Mon Sep 17 00:00:00 2001 From: scottl Date: Wed, 16 Sep 2009 22:52:20 +0000 Subject: Increase CISS_MAX_PHYSTGT to 256 so that it matches what the controller might give us. Without this, certain data structures get sized incorrectly, leading to a panic on certain cards that want to use high-value target numbers. --- sys/dev/ciss/cissvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/ciss/cissvar.h b/sys/dev/ciss/cissvar.h index f9f5c6f..98e875f 100644 --- a/sys/dev/ciss/cissvar.h +++ b/sys/dev/ciss/cissvar.h @@ -176,7 +176,7 @@ struct ciss_pdrive #define CISS_PHYSICAL_SHIFT 5 #define CISS_PHYSICAL_BASE (1 << CISS_PHYSICAL_SHIFT) -#define CISS_MAX_PHYSTGT 15 +#define CISS_MAX_PHYSTGT 256 #define CISS_IS_PHYSICAL(bus) (bus >= CISS_PHYSICAL_BASE) #define CISS_CAM_TO_PBUS(bus) (bus - CISS_PHYSICAL_BASE) -- cgit v1.1