__SCSI_MODE_SENSE
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
__scsi_mode_sense - issue a mode sense, falling back from 10 to
SYNOPSIS
"SYNOPSIS"
int __scsi_mode_sense (struct scsi_request * sreq, int dbd, int modepage, unsigned char * buffer, int len, int timeout, int retries, struct scsi_mode_data * data);
ARGUMENTS
- sreq
-
SCSI request to fill in with the MODE_SENSE
- dbd
-
set if mode sense will allow block descriptors to be returned
- modepage
-
mode page being requested
- buffer
-
request buffer (may not be smaller than eight bytes)
- len
-
length of request buffer.
- timeout
-
command timeout
- retries
-
number of retries before failing
- data
-
returns a structure abstracting the mode header data
DESCRIPTION
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.
DESCRIPTION
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.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 13:31:17 GMT, October 06, 2005