aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-03-18 15:10:35 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-19 11:19:14 -0500
commit5baba830e93732e802dc7e0a362eb730e1917f58 (patch)
tree84c634fd35bff836b5b09f2ac3c7c826fdb5c9bb /include/scsi/scsi_device.h
parent75913d9bb8328c4eca54cad39a5fb665b48383eb (diff)
[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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index f2193cd0d31..895d212864c 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,
261 unsigned char *buffer, int len, int timeout, 261 unsigned char *buffer, int len, int timeout,
262 int retries, struct scsi_mode_data *data, 262 int retries, struct scsi_mode_data *data,
263 struct scsi_sense_hdr *); 263 struct scsi_sense_hdr *);
264extern int scsi_mode_select(struct scsi_device *sdev, int pf, int sp,
265 int modepage, unsigned char *buffer, int len,
266 int timeout, int retries,
267 struct scsi_mode_data *data,
268 struct scsi_sense_hdr *);
264extern int scsi_test_unit_ready(struct scsi_device *sdev, int timeout, 269extern int scsi_test_unit_ready(struct scsi_device *sdev, int timeout,
265 int retries); 270 int retries);
266extern int scsi_device_set_state(struct scsi_device *sdev, 271extern int scsi_device_set_state(struct scsi_device *sdev,