Jeremy Higdon wrote:
> 
> [snip]
> 
> I was reading Documentation/scsi-generic.txt in 2.4.1.  I didn't see
> anything about direction in the "new sg_header".  Is there something
> newer?
> 
> | The new sg_header offered in this driver is:
> | #define SG_MAX_SENSE 16
> | struct sg_header
> | {

Jeremy,
The Documentation/scsi-generic.txt file in lk 2.4.1 is a
carry over from the lk 2.2 series and documents what I
have called the "version 2" sg interface. This is essentially
stretching the "struct sg_header" based interface that has
been around since 1992.

There is a document called scsi-generic_v3.txt at the
sg website. It contains extra information about the
"struct sg_io_hdr" based interface that has been added
in the lk 2.4 series. The "v3" document assumes knowledge
of the scsi-generic.txt document. So I need to consolidate
them into one document for lk 2.4 . There is also a
page about the "v3" interface at the sg website
(www.torque.net/sg).

There is also information to be found in lk 2.4's
/usr/src/linux/include/scsi/sg.h header file (arguably
too much information). Interestingly, in the glibc 2.2
release I have, the /usr/include/scsi/sg.h file, while
appropriate for sg in lk 2.4, has most of this 
information removed.

Doug Gilbert


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to