freebsd-dev/sys/dev/ciss
Sean Bruno e3edca225f Satisfy the intent of kern/151564: [ciss] ciss(4) should increase
CISS_MAX_LOGICAL to 107

Submitter wanted to increase the number of logical disks supported by ciss(4)
by simply raising the CISS_MAX_LOGICAL value even higher.  Instead, consult
the documentation for the raid controller (OPENCISS) and poke the controller
bits to ask it for how many logical/physical disks it can handle.

Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers.

For older controllers that don't support this mechanism, fallback to the old
value of 16 logical disks.  Tested on P420, P410, P400 and 6i model ciss(4)
controllers.

This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC
period.

PR:		kern/151564
Reviewed by:	scottl@freebsd.org
MFC after:	2 weeks
2013-01-15 14:35:35 +00:00
..
ciss.c Satisfy the intent of kern/151564: [ciss] ciss(4) should increase 2013-01-15 14:35:35 +00:00
cissio.h A number of significant enhancements to the ciss driver: 2008-07-11 21:20:51 +00:00
cissreg.h Satisfy the intent of kern/151564: [ciss] ciss(4) should increase 2013-01-15 14:35:35 +00:00
cissvar.h Satisfy the intent of kern/151564: [ciss] ciss(4) should increase 2013-01-15 14:35:35 +00:00