1 #ifndef _SCSI_SCSI_DBG_H 2 #define _SCSI_SCSI_DBG_H 3 4 struct scsi_cmnd; 5 struct scsi_device; 6 struct scsi_sense_hdr; 7 8 extern void scsi_print_command(struct scsi_cmnd *); 9 extern void __scsi_print_command(const unsigned char *, size_t); 10 extern void scsi_show_extd_sense(const struct scsi_device *, const char *, 11 unsigned char, unsigned char); 12 extern void scsi_show_sense_hdr(const struct scsi_device *, const char *, 13 const struct scsi_sense_hdr *); 14 extern void scsi_print_sense_hdr(const struct scsi_device *, const char *, 15 const struct scsi_sense_hdr *); 16 extern void scsi_print_sense(const struct scsi_cmnd *); 17 extern void __scsi_print_sense(const struct scsi_device *, const char *name, 18 const unsigned char *sense_buffer, 19 int sense_len); 20 extern void scsi_print_result(struct scsi_cmnd *, const char *, int); 21 extern const char *scsi_hostbyte_string(int); 22 extern const char *scsi_driverbyte_string(int); 23 extern const char *scsi_mlreturn_string(int); 24 extern const char *scsi_sense_key_string(unsigned char); 25 extern const char *scsi_extd_sense_format(unsigned char, unsigned char, 26 const char **); 27 28 #endif /* _SCSI_SCSI_DBG_H */ 29