2001-12-21 17:01:29

by Stephen Cameron

[permalink] [raw]
Subject: [PATCH] cciss_cmd.h, MAXSGENTRIES is 31, not 32.

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