blob: 3bbbfbe8cbfc6297de6a62b8674c4f9ae30145d7 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _SCSI_SCSI_DBG_H
2#define _SCSI_SCSI_DBG_H
3
4struct scsi_cmnd;
James Bottomleyea73a9f2005-08-28 11:33:52 -05005struct scsi_sense_hdr;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
7extern void scsi_print_command(struct scsi_cmnd *);
James Bottomleyea73a9f2005-08-28 11:33:52 -05008extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009extern void __scsi_print_command(unsigned char *);
10extern void scsi_print_sense(const char *, struct scsi_cmnd *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern void __scsi_print_sense(const char *name,
12 const unsigned char *sense_buffer,
13 int sense_len);
14extern void scsi_print_driverbyte(int);
15extern void scsi_print_hostbyte(int);
16extern void scsi_print_status(unsigned char);
Linus Torvalds1da177e2005-04-16 15:20:36 -070017extern const char *scsi_sense_key_string(unsigned char);
18extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
19
20#endif /* _SCSI_SCSI_DBG_H */