K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-27T08:40:37.728148Z K 7 svn:log V 482 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 END