aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_request.h
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-08-28 12:27:01 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-08-28 12:27:01 -0400
commit1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch)
tree501f88d32efe275560c2df1f6c7c6bacf72af4cf /include/scsi/scsi_request.h
parent7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (diff)
[SCSI] convert the remaining mid-layer pieces to scsi_execute_req
After this, we just have some drivers, all the ULDs and the SPI transport class using scsi_wait_req(). Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_request.h')
-rw-r--r--include/scsi/scsi_request.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/scsi/scsi_request.h b/include/scsi/scsi_request.h
index d64903a617c3..f5dfdfec9fea 100644
--- a/include/scsi/scsi_request.h
+++ b/include/scsi/scsi_request.h
@@ -58,19 +58,4 @@ extern int scsi_execute_req(struct scsi_device *sdev, unsigned char *cmd,
58 int data_direction, void *buffer, unsigned bufflen, 58 int data_direction, void *buffer, unsigned bufflen,
59 unsigned char *sense, int timeout, int retries); 59 unsigned char *sense, int timeout, int retries);
60 60
61struct scsi_mode_data {
62 __u32 length;
63 __u16 block_descriptor_length;
64 __u8 medium_type;
65 __u8 device_specific;
66 __u8 header_length;
67 __u8 longlba:1;
68};
69
70extern int __scsi_mode_sense(struct scsi_request *SRpnt, int dbd,
71 int modepage, unsigned char *buffer, int len,
72 int timeout, int retries,
73 struct scsi_mode_data *data);
74
75
76#endif /* _SCSI_SCSI_REQUEST_H */ 61#endif /* _SCSI_SCSI_REQUEST_H */