public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* use_10_for_ms revisited?
@ 2003-06-29  6:30 Jeff Garzik
  2003-06-29  6:38 ` Matthew Dharm
  2003-06-29 10:22 ` Andries Brouwer
  0 siblings, 2 replies; 19+ messages in thread
From: Jeff Garzik @ 2003-06-29  6:30 UTC (permalink / raw)
  To: linux-scsi

I was reading the specs just now, and I see that the inquiry page 
defines how ATAPI and USB devices indicate they are compliant with MMC-4.

And, MMC-4 does not define read/write/modesen/modesel 6-byte commands at 
all.

My conclusion is that we should notice up front when MMC-4 is supported, 
and simply adhere to the spec by always sending 10-byte commands for 
that device.  I do not think that translation of 6-to-10 byte commands 
is answer, which is what happens now.  Our SCSI layer (sr.c, etc.) 
should, IMO, be compliant with MMC-4 and simply send the right commands.

This also implies that use_10_for_ms simply need not exist -- "first try 
10 byte commands for this device" is false...  for some devices we 
should be unconditionally sending 10 byte commands, no ifs, ands, or buts :)

I'll see if I can work up a patch, if noone objects...

	Jeff, debugging atapi support in his ata-scsi driver




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

end of thread, other threads:[~2003-06-30  3:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-29  6:30 use_10_for_ms revisited? Jeff Garzik
2003-06-29  6:38 ` Matthew Dharm
2003-06-29  6:47   ` Jeff Garzik
2003-06-29  6:54     ` Matthew Dharm
2003-06-29  7:27       ` Jeff Garzik
2003-06-29 10:31         ` Alan Cox
2003-06-29 10:22 ` Andries Brouwer
2003-06-29 16:33   ` Jeff Garzik
2003-06-29 17:36     ` Andries Brouwer
2003-06-29 17:58       ` Jeff Garzik
2003-06-29 18:02         ` Matthew Dharm
2003-06-29 18:17           ` Jeff Garzik
2003-06-29 18:35             ` Matthew Dharm
2003-06-29 18:36             ` James Bottomley
2003-06-29 19:07               ` Jeff Garzik
2003-06-30  0:23                 ` Matthew Dharm
2003-06-30  3:24                   ` Jeff Garzik
2003-06-29 18:25         ` Andries Brouwer
2003-06-29 18:32           ` Jeff Garzik

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