public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cciss max SGs is 31, not 32, 2.5.1-pre5
@ 2001-12-04 17:02 Stephen Cameron
  2001-12-04 19:03 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Cameron @ 2001-12-04 17:02 UTC (permalink / raw)
  To: linux-kernel

Guys,

wrt 2.5.1-pre5

The change below should be reverted.  The controller will reject a command
with 32 scatter gather entries.  

Thanks,

-- steve

diff -u --recursive --new-file v2.5.0/linux/drivers/block/cciss_cmd.h
linux/drivers/block/cciss_cmd.h
--- v2.5.0/linux/drivers/block/cciss_cmd.h      Fri Nov  2 17:45:42 2001
+++ linux/drivers/block/cciss_cmd.h     Tue Nov 27 09:23:27 2001
@@ -7,7 +7,7 @@

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


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cciss max SGs is 31, not 32, 2.5.1-pre5
  2001-12-04 17:02 cciss max SGs is 31, not 32, 2.5.1-pre5 Stephen Cameron
@ 2001-12-04 19:03 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2001-12-04 19:03 UTC (permalink / raw)
  To: Stephen Cameron; +Cc: linux-kernel

On Tue, Dec 04 2001, Stephen Cameron wrote:
> Guys,
> 
> wrt 2.5.1-pre5
> 
> The change below should be reverted.  The controller will reject a command
> with 32 scatter gather entries.  

Oops, probably my mistake. Funny thing is even tested this months ago
and came to the same conclusion (your docs are not that good...), I
guess it survived in the 2.5 tree because of lack of testing.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-04 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-04 17:02 cciss max SGs is 31, not 32, 2.5.1-pre5 Stephen Cameron
2001-12-04 19:03 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox