diff options
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index fbc83bebdd8e..b4e49cd6e75d 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h | |||
@@ -39,9 +39,24 @@ 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 | }; | ||
47 | |||
42 | extern int scsi_get_device_flags(struct scsi_device *sdev, | 48 | extern int scsi_get_device_flags(struct scsi_device *sdev, |
43 | const unsigned char *vendor, | 49 | const unsigned char *vendor, |
44 | const unsigned char *model); | 50 | const unsigned char *model); |
51 | extern int scsi_get_device_flags_keyed(struct scsi_device *sdev, | ||
52 | const unsigned char *vendor, | ||
53 | const unsigned char *model, int key); | ||
54 | extern int scsi_dev_info_list_add_keyed(int compatible, char *vendor, | ||
55 | char *model, char *strflags, | ||
56 | int flags, int key); | ||
57 | extern int scsi_dev_info_add_list(int key, const char *name); | ||
58 | extern int scsi_dev_info_remove_list(int key); | ||
59 | |||
45 | extern int __init scsi_init_devinfo(void); | 60 | extern int __init scsi_init_devinfo(void); |
46 | extern void scsi_exit_devinfo(void); | 61 | extern void scsi_exit_devinfo(void); |
47 | 62 | ||