Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _SCSI_SCSI_DBG_H |
| 2 | #define _SCSI_SCSI_DBG_H |
| 3 | |
| 4 | struct scsi_cmnd; |
James Bottomley | ea73a9f | 2005-08-28 11:33:52 -0500 | [diff] [blame] | 5 | struct scsi_sense_hdr; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
| 7 | extern void scsi_print_command(struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | extern void __scsi_print_command(unsigned char *); |
Martin K. Petersen | 684b7fe | 2007-02-27 22:39:44 -0500 | [diff] [blame] | 9 | extern void scsi_show_extd_sense(unsigned char, unsigned char); |
| 10 | extern void scsi_show_sense_hdr(struct scsi_sense_hdr *); |
| 11 | extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *); |
| 12 | extern void scsi_print_sense(char *, struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | extern void __scsi_print_sense(const char *name, |
| 14 | const unsigned char *sense_buffer, |
| 15 | int sense_len); |
Martin K. Petersen | 684b7fe | 2007-02-27 22:39:44 -0500 | [diff] [blame] | 16 | extern void scsi_show_result(int); |
| 17 | extern void scsi_print_result(struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | extern void scsi_print_status(unsigned char); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | extern const char *scsi_sense_key_string(unsigned char); |
| 20 | extern const char *scsi_extd_sense_format(unsigned char, unsigned char); |
| 21 | |
| 22 | #endif /* _SCSI_SCSI_DBG_H */ |