.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SCSI_MODE_SENSE" "" "06 October 2005" "" "" .SH NAME scsi_mode_sense \- issue a mode sense, falling back from 10 to .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int scsi_mode_sense (struct scsi_device * \fIsdev\fB, int \fIdbd\fB, int \fImodepage\fB, unsigned char * \fIbuffer\fB, int \fIlen\fB, int \fItimeout\fB, int \fIretries\fB, struct scsi_mode_data * \fIdata\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsdev\fB\fR scsi device to send command to. .TP \fB\fIdbd\fB\fR set if mode sense will disable block descriptors in the return .TP \fB\fImodepage\fB\fR mode page being requested .TP \fB\fIbuffer\fB\fR request buffer (may not be smaller than eight bytes) .TP \fB\fIlen\fB\fR length of request buffer. .TP \fB\fItimeout\fB\fR command timeout .TP \fB\fIretries\fB\fR number of retries before failing .TP \fB\fIdata\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP Returns zero if unsuccessful, or the header offset (either 4 or 8 depending on whether a six or ten byte command was issued) if successful. .SH "DESCRIPTION" .PP Returns zero if unsuccessful, or the header offset (either 4 or 8 depending on whether a six or ten byte command was issued) if successful.