diff options
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index fbc83bebdd8e..021e503c8c44 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -39,9 +39,25 @@ static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) | |||
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | /* scsi_devinfo.c */ | 41 | /* scsi_devinfo.c */ |
42 | |||
43 | /* list of keys for the lists */ | ||
44 | enum { | ||
45 | SCSI_DEVINFO_GLOBAL = 0, | ||
46 | SCSI_DEVINFO_SPI, | ||
47 | }; | ||
48 | |||
42 | extern int scsi_get_device_flags(struct scsi_device *sdev, | 49 | extern int scsi_get_device_flags(struct scsi_device *sdev, |
43 | const unsigned char *vendor, | 50 | const unsigned char *vendor, |
44 | const unsigned char *model); | 51 | const unsigned char *model); |
52 | extern int scsi_get_device_flags_keyed(struct scsi_device *sdev, | ||
53 | const unsigned char *vendor, | ||
54 | const unsigned char *model, int key); | ||
55 | extern int scsi_dev_info_list_add_keyed(int compatible, char *vendor, | ||
56 | char *model, char *strflags, | ||
57 | int flags, int key); | ||
58 | extern int scsi_dev_info_add_list(int key, const char *name); | ||
59 | extern int scsi_dev_info_remove_list(int key); | ||
60 | |||
45 | extern int __init scsi_init_devinfo(void); | 61 | extern int __init scsi_init_devinfo(void); |
46 | extern void scsi_exit_devinfo(void); | 62 | extern void scsi_exit_devinfo(void); |
47 | 63 | ||
@@ -71,7 +87,6 @@ extern int scsi_init_queue(void); | |||
71 | extern void scsi_exit_queue(void); | 87 | extern void scsi_exit_queue(void); |
72 | struct request_queue; | 88 | struct request_queue; |
73 | struct request; | 89 | struct request; |
74 | extern int scsi_prep_fn(struct request_queue *, struct request *); | ||
75 | extern struct kmem_cache *scsi_sdb_cache; | 90 | extern struct kmem_cache *scsi_sdb_cache; |
76 | 91 | ||
77 | /* scsi_proc.c */ | 92 | /* scsi_proc.c */ |