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