summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-03-18 23:10:35 +0300
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-19 19:19:14 +0300
commit5baba830e93732e802dc7e0a362eb730e1917f58 (patch)
tree84c634fd35bff836b5b09f2ac3c7c826fdb5c9bb /include/scsi
parent75913d9bb8328c4eca54cad39a5fb665b48383eb (diff)
downloadlinux-5baba830e93732e802dc7e0a362eb730e1917f58.tar.xz
[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')
-rw-r--r--include/scsi/scsi_device.h5
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,