freebsd-skq/sys/dev/ciss
sbruno 36fb790d70 Change maxio to reflect variable hardware configurations.
If max_sg_length is 0, then we default to 16

If max_sg_length is less than CISS_MAX_SG_ELEMENTS, then
we will set round the value of max_sg_length to the nearest
power of 2 and use it to align maxio.

Else, we will use CISS_MAX_SG_ELEMENTS for our calculations.

Thanks to scottl for working me through the history and providing
the basis for this patch.

Submitted by:	scott
Obtained from:	Yahoo! Inc.
MFC after:	2 weeks
2013-04-27 08:40:37 +00:00
..
ciss.c Change maxio to reflect variable hardware configurations. 2013-04-27 08:40:37 +00:00
cissio.h
cissreg.h Satisfy the intent of kern/151564: [ciss] ciss(4) should increase 2013-01-15 14:35:35 +00:00
cissvar.h Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00