aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-06-10 12:01:03 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-10 17:24:40 -0400
commitbeb40487508290f5d6565598c60a3f44261beef2 (patch)
treeca63df47d8db8f1b1161b5db094b0a9c2b541d91 /drivers/scsi/scsi_priv.h
parent1951d099dfd8fa529e86f4ac81d1a34554fbe302 (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.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