]> err.no Git - linux-2.6/blobdiff - include/scsi/scsi_device.h
[PATCH] x86_64: Define pmtmr_ioport to 0 when PM_TIMER is not available
[linux-2.6] / include / scsi / scsi_device.h
index 063e32fe036c4e11d6e8e6a66384f1bc5a6e98fd..290e3b4d2aec040c46f1fc2f0ff8b9a8b3398472 100644 (file)
@@ -274,6 +274,12 @@ extern int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd,
 extern int scsi_execute_req(struct scsi_device *sdev, const unsigned char *cmd,
                            int data_direction, void *buffer, unsigned bufflen,
                            struct scsi_sense_hdr *, int timeout, int retries);
+extern int scsi_execute_async(struct scsi_device *sdev,
+                             const unsigned char *cmd, int cmd_len, int data_direction,
+                             void *buffer, unsigned bufflen, int use_sg,
+                             int timeout, int retries, void *privdata,
+                             void (*done)(void *, char *, int, int),
+                             gfp_t gfp);
 
 static inline unsigned int sdev_channel(struct scsi_device *sdev)
 {