svn commit: r197260 - head/sys/dev/ciss
Scott Long
scottl at FreeBSD.org
Wed Sep 16 22:52:20 UTC 2009
Author: scottl
Date: Wed Sep 16 22:52:20 2009
New Revision: 197260
URL: http://svn.freebsd.org/changeset/base/197260
Log:
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.
Modified:
head/sys/dev/ciss/cissvar.h
Modified: head/sys/dev/ciss/cissvar.h
==============================================================================
--- head/sys/dev/ciss/cissvar.h Wed Sep 16 19:53:29 2009 (r197259)
+++ head/sys/dev/ciss/cissvar.h Wed Sep 16 22:52:20 2009 (r197260)
@@ -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)
More information about the svn-src-head
mailing list