diff options
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index d632d9e1493c..27c48274e8cb 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -26,12 +26,6 @@ struct Scsi_Host; | |||
26 | #define SCSI_SENSE_VALID(scmd) \ | 26 | #define SCSI_SENSE_VALID(scmd) \ |
27 | (((scmd)->sense_buffer[0] & 0x70) == 0x70) | 27 | (((scmd)->sense_buffer[0] & 0x70) == 0x70) |
28 | 28 | ||
29 | /* | ||
30 | * Special value for scanning to specify scanning or rescanning of all | ||
31 | * possible channels, (target) ids, or luns on a given shost. | ||
32 | */ | ||
33 | #define SCAN_WILD_CARD ~0 | ||
34 | |||
35 | /* hosts.c */ | 29 | /* hosts.c */ |
36 | extern int scsi_init_hosts(void); | 30 | extern int scsi_init_hosts(void); |
37 | extern void scsi_exit_hosts(void); | 31 | extern void scsi_exit_hosts(void); |
@@ -40,11 +34,11 @@ extern void scsi_exit_hosts(void); | |||
40 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); | 34 | extern int scsi_dispatch_cmd(struct scsi_cmnd *cmd); |
41 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); | 35 | extern int scsi_setup_command_freelist(struct Scsi_Host *shost); |
42 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); | 36 | extern void scsi_destroy_command_freelist(struct Scsi_Host *shost); |
43 | extern int scsi_insert_special_req(struct scsi_request *sreq, int); | ||
44 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, | 37 | extern void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, |
45 | struct scsi_request *sreq); | 38 | struct scsi_request *sreq); |
46 | extern void __scsi_release_request(struct scsi_request *sreq); | 39 | extern void __scsi_release_request(struct scsi_request *sreq); |
47 | extern void __scsi_done(struct scsi_cmnd *cmd); | 40 | extern void __scsi_done(struct scsi_cmnd *cmd); |
41 | extern int scsi_retry_command(struct scsi_cmnd *cmd); | ||
48 | #ifdef CONFIG_SCSI_LOGGING | 42 | #ifdef CONFIG_SCSI_LOGGING |
49 | void scsi_log_send(struct scsi_cmnd *cmd); | 43 | void scsi_log_send(struct scsi_cmnd *cmd); |
50 | void scsi_log_completion(struct scsi_cmnd *cmd, int disposition); | 44 | void scsi_log_completion(struct scsi_cmnd *cmd, int disposition); |
@@ -57,7 +51,8 @@ static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) | |||
57 | 51 | ||
58 | /* scsi_devinfo.c */ | 52 | /* scsi_devinfo.c */ |
59 | extern int scsi_get_device_flags(struct scsi_device *sdev, | 53 | extern int scsi_get_device_flags(struct scsi_device *sdev, |
60 | unsigned char *vendor, unsigned char *model); | 54 | const unsigned char *vendor, |
55 | const unsigned char *model); | ||
61 | extern int __init scsi_init_devinfo(void); | 56 | extern int __init scsi_init_devinfo(void); |
62 | extern void scsi_exit_devinfo(void); | 57 | extern void scsi_exit_devinfo(void); |
63 | 58 | ||