aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index 27c48274e8cb..a1727a0e1bdd 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -8,17 +8,10 @@ struct request_queue;
8struct scsi_cmnd; 8struct scsi_cmnd;
9struct scsi_device; 9struct scsi_device;
10struct scsi_host_template; 10struct scsi_host_template;
11struct scsi_request;
12struct Scsi_Host; 11struct Scsi_Host;
13 12
14 13
15/* 14/*
16 * Magic values for certain scsi structs. Shouldn't ever be used.
17 */
18#define SCSI_CMND_MAGIC 0xE25C23A5
19#define SCSI_REQ_MAGIC 0x75F6D354
20
21/*
22 * Scsi Error Handler Flags 15 * Scsi Error Handler Flags
23 */ 16 */
24#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */ 17#define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */
@@ -34,9 +27,6 @@ extern void scsi_exit_hosts(void);
34extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); 27extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd);
35extern int scsi_setup_command_freelist(struct Scsi_Host *shost); 28extern int scsi_setup_command_freelist(struct Scsi_Host *shost);
36extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); 29extern void scsi_destroy_command_freelist(struct Scsi_Host *shost);
37extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd,
38 struct scsi_request *sreq);
39extern void __scsi_release_request(struct scsi_request *sreq);
40extern void __scsi_done(struct scsi_cmnd *cmd); 30extern void __scsi_done(struct scsi_cmnd *cmd);
41extern int scsi_retry_command(struct scsi_cmnd *cmd); 31extern int scsi_retry_command(struct scsi_cmnd *cmd);
42#ifdef CONFIG_SCSI_LOGGING 32#ifdef CONFIG_SCSI_LOGGING