diff options
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index c01580df4476..d30d7f4e63ec 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -13,17 +13,6 @@ struct Scsi_Host; | |||
13 | 13 | ||
14 | 14 | ||
15 | /* | 15 | /* |
16 | * These are the values that the owner field can take. | ||
17 | * They are used as an indication of who the command belongs to. | ||
18 | */ | ||
19 | #define SCSI_OWNER_HIGHLEVEL 0x100 | ||
20 | #define SCSI_OWNER_MIDLEVEL 0x101 | ||
21 | #define SCSI_OWNER_LOWLEVEL 0x102 | ||
22 | #define SCSI_OWNER_ERROR_HANDLER 0x103 | ||
23 | #define SCSI_OWNER_BH_HANDLER 0x104 | ||
24 | #define SCSI_OWNER_NOBODY 0x105 | ||
25 | |||
26 | /* | ||
27 | * Magic values for certain scsi structs. Shouldn't ever be used. | 16 | * Magic values for certain scsi structs. Shouldn't ever be used. |
28 | */ | 17 | */ |
29 | #define SCSI_CMND_MAGIC 0xE25C23A5 | 18 | #define SCSI_CMND_MAGIC 0xE25C23A5 |
@@ -32,15 +21,6 @@ struct Scsi_Host; | |||
32 | /* | 21 | /* |
33 | * Scsi Error Handler Flags | 22 | * Scsi Error Handler Flags |
34 | */ | 23 | */ |
35 | #define scsi_eh_eflags_chk(scp, flags) \ | ||
36 | ((scp)->eh_eflags & (flags)) | ||
37 | #define scsi_eh_eflags_set(scp, flags) \ | ||
38 | do { (scp)->eh_eflags |= (flags); } while(0) | ||
39 | #define scsi_eh_eflags_clr(scp, flags) \ | ||
40 | do { (scp)->eh_eflags &= ~(flags); } while(0) | ||
41 | #define scsi_eh_eflags_clr_all(scp) \ | ||
42 | (scp->eh_eflags = 0) | ||
43 | |||
44 | #define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */ | 24 | #define SCSI_EH_CANCEL_CMD 0x0001 /* Cancel this cmd */ |
45 | #define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */ | 25 | #define SCSI_EH_REC_TIMEOUT 0x0002 /* EH retry timed out */ |
46 | 26 | ||
@@ -61,8 +41,6 @@ extern void scsi_exit_hosts(void); | |||
61 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); | 41 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); |
62 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); | 42 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); |
63 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); | 43 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); |
64 | extern void scsi_done(struct scsi_cmnd *cmd); | ||
65 | extern int scsi_retry_command(struct scsi_cmnd *cmd); | ||
66 | extern int scsi_insert_special_req(struct scsi_request *sreq, int); | 44 | extern int scsi_insert_special_req(struct scsi_request *sreq, int); |
67 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, | 45 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, |
68 | struct scsi_request *sreq); | 46 | struct scsi_request *sreq); |
@@ -136,7 +114,6 @@ extern void scsi_exit_sysctl(void); | |||
136 | #endif /* CONFIG_SYSCTL */ | 114 | #endif /* CONFIG_SYSCTL */ |
137 | 115 | ||
138 | /* scsi_sysfs.c */ | 116 | /* scsi_sysfs.c */ |
139 | extern void scsi_device_dev_release(struct device *); | ||
140 | extern int scsi_sysfs_add_sdev(struct scsi_device *); | 117 | extern int scsi_sysfs_add_sdev(struct scsi_device *); |
141 | extern int scsi_sysfs_add_host(struct Scsi_Host *); | 118 | extern int scsi_sysfs_add_host(struct Scsi_Host *); |
142 | extern int scsi_sysfs_register(void); | 119 | extern int scsi_sysfs_register(void); |
@@ -145,7 +122,6 @@ extern void scsi_sysfs_device_initialize(struct scsi_device *); | |||
145 | extern int scsi_sysfs_target_initialize(struct scsi_device *); | 122 | extern int scsi_sysfs_target_initialize(struct scsi_device *); |
146 | extern struct scsi_transport_template blank_transport_template; | 123 | extern struct scsi_transport_template blank_transport_template; |
147 | 124 | ||
148 | extern struct class sdev_class; | ||
149 | extern struct bus_type scsi_bus_type; | 125 | extern struct bus_type scsi_bus_type; |
150 | 126 | ||
151 | /* | 127 | /* |