diff options
author | Christoph Hellwig <hch@lst.de> | 2006-06-10 12:01:03 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 17:24:40 -0400 |
commit | beb40487508290f5d6565598c60a3f44261beef2 (patch) | |
tree | ca63df47d8db8f1b1161b5db094b0a9c2b541d91 /drivers/scsi/scsi_priv.h | |
parent | 1951d099dfd8fa529e86f4ac81d1a34554fbe302 (diff) |
[SCSI] remove scsi_request infrastructure
With Achim patch the last user (gdth) is switched away from scsi_request
so we an kill it now. Also disables some code in i2o_scsi that was
broken since the sg driver stopped using scsi_requests.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 10 |
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; | |||
8 | struct scsi_cmnd; | 8 | struct scsi_cmnd; |
9 | struct scsi_device; | 9 | struct scsi_device; |
10 | struct scsi_host_template; | 10 | struct scsi_host_template; |
11 | struct scsi_request; | ||
12 | struct Scsi_Host; | 11 | struct 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); | |||
34 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); | 27 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); |
35 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); | 28 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); |
36 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); | 29 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); |
37 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, | ||
38 | struct scsi_request *sreq); | ||
39 | extern void __scsi_release_request(struct scsi_request *sreq); | ||
40 | extern void __scsi_done(struct scsi_cmnd *cmd); | 30 | extern void __scsi_done(struct scsi_cmnd *cmd); |
41 | extern int scsi_retry_command(struct scsi_cmnd *cmd); | 31 | extern int scsi_retry_command(struct scsi_cmnd *cmd); |
42 | #ifdef CONFIG_SCSI_LOGGING | 32 | #ifdef CONFIG_SCSI_LOGGING |