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 *); |
James Bottomley | 311b581 | 2007-09-23 09:08:46 -0500 | [diff] [blame] | 12 | extern void scsi_cmd_print_sense_hdr(struct scsi_cmnd *, const char *, |
| 13 | struct scsi_sense_hdr *); |
Martin K. Petersen | 684b7fe | 2007-02-27 22:39:44 -0500 | [diff] [blame] | 14 | extern void scsi_print_sense(char *, struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | extern void __scsi_print_sense(const char *name, |
| 16 | const unsigned char *sense_buffer, |
| 17 | int sense_len); |
Martin K. Petersen | 684b7fe | 2007-02-27 22:39:44 -0500 | [diff] [blame] | 18 | extern void scsi_show_result(int); |
| 19 | extern void scsi_print_result(struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | extern void scsi_print_status(unsigned char); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | extern const char *scsi_sense_key_string(unsigned char); |
| 22 | extern const char *scsi_extd_sense_format(unsigned char, unsigned char); |
| 23 | |
| 24 | #endif /* _SCSI_SCSI_DBG_H */ |