[PATCH] cciss_cmd.h, MAXSGENTRIES is 31, not 32.

Stephen Cameron (smcameron@yahoo.com)
Fri, 21 Dec 2001 09:01:01 -0800 (PST)


Please apply this patch to set MAXSGENTRIES back to 31.
All of the SmartArray 53xx controllers to date will
reject commands having more than 31 scatter gather
entries.

Thanks,

-- steve

--- linux-2.5.2-pre1/drivers/block/cciss_cmd.h.orig Fri Dec 21 10:46:31 2001
+++ linux-2.5.2-pre1/drivers/block/cciss_cmd.h Fri Dec 21 10:46:41 2001
@@ -7,7 +7,7 @@

//general boundary defintions
#define SENSEINFOBYTES 32//note that this value may vary between host implementations
-#define MAXSGENTRIES 32
+#define MAXSGENTRIES 31
#define MAXREPLYQS 256

//Command Status value

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/