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 *); |
James Bottomley | ea73a9f | 2005-08-28 11:33:52 -0500 | [diff] [blame] | 8 | extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | extern void __scsi_print_command(unsigned char *); |
| 10 | extern void scsi_print_sense(const char *, struct scsi_cmnd *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | extern void __scsi_print_sense(const char *name, |
| 12 | const unsigned char *sense_buffer, |
| 13 | int sense_len); |
| 14 | extern void scsi_print_driverbyte(int); |
| 15 | extern void scsi_print_hostbyte(int); |
| 16 | extern void scsi_print_status(unsigned char); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | extern const char *scsi_sense_key_string(unsigned char); |
| 18 | extern const char *scsi_extd_sense_format(unsigned char, unsigned char); |
| 19 | |
| 20 | #endif /* _SCSI_SCSI_DBG_H */ |