diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-03-18 21:10:35 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-19 17:19:14 +0100 |
commit | 5baba830e93732e802dc7e0a362eb730e1917f58 (patch) | |
tree | 84c634fd35bff836b5b09f2ac3c7c826fdb5c9bb /include/scsi/scsi_device.h | |
parent | [SCSI] 3ware 9000 add big endian support (diff) | |
download | linux-5baba830e93732e802dc7e0a362eb730e1917f58.tar.xz linux-5baba830e93732e802dc7e0a362eb730e1917f58.zip |
[SCSI] add scsi_mode_select to scsi_lib.c
This complements the scsi_mode_sense() function
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r-- | include/scsi/scsi_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index f2193cd0d31f..895d212864cd 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -261,6 +261,11 @@ extern int scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, unsigned char *buffer, int len, int timeout, int retries, struct scsi_mode_data *data, struct scsi_sense_hdr *); +extern int scsi_mode_select(struct scsi_device *sdev, int pf, int sp, + int modepage, unsigned char *buffer, int len, + int timeout, int retries, + struct scsi_mode_data *data, + struct scsi_sense_hdr *); extern int scsi_test_unit_ready(struct scsi_device *sdev, int timeout, int retries); extern int scsi_device_set_state(struct scsi_device *sdev, |