On Wed, Sep 14, 2005 at 01:18:52PM -0700, Timothy Thelin wrote:
> 
> > It ought to be possible to add a flag that would prevent the 
> > SCSI midlayer 
> > from overlaying the LUN bits on top of cdb[1].  Then we could 
> > still set 
> > the revision number to 2 and you would be happy.
> 
> Sounds plausable, but i'm not an expert on the Linux scsi stack
> to know where the flag would exist.
> 
> One idea is to add the flag to SG_IO, since both vendor and
> SCSI-ATA passthru cdb's would use this mechanism (most likely).
> The purpose of the flag could be to say "don't modify the cdb
> in any way", a solution more general than just "don't add LUN info"

That flag already exists.  SG_FLAG_LUN_INHIBIT -- see sg.torque.net for
details.

Matt

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

YOU SEE!!?? It's like being born with only one nipple!
                                        -- Erwin
User Friendly, 10/19/1998

Attachment: pgpOt1e1IzeTv.pgp
Description: PGP signature

Reply via email to