blob: e89844cc2cd359bf281574f45f942826b1af9056 [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 *);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008extern void __scsi_print_command(unsigned char *);
Martin K. Petersen684b7fe2007-02-27 22:39:44 -05009extern void scsi_show_extd_sense(unsigned char, unsigned char);
10extern void scsi_show_sense_hdr(struct scsi_sense_hdr *);
11extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
James Bottomley311b5812007-09-23 09:08:46 -050012extern void scsi_cmd_print_sense_hdr(struct scsi_cmnd *, const char *,
13 struct scsi_sense_hdr *);
Martin K. Petersen684b7fe2007-02-27 22:39:44 -050014extern void scsi_print_sense(char *, struct scsi_cmnd *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070015extern void __scsi_print_sense(const char *name,
16 const unsigned char *sense_buffer,
17 int sense_len);
Martin K. Petersen684b7fe2007-02-27 22:39:44 -050018extern void scsi_show_result(int);
19extern void scsi_print_result(struct scsi_cmnd *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070020extern void scsi_print_status(unsigned char);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021extern const char *scsi_sense_key_string(unsigned char);
22extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
23
24#endif /* _SCSI_SCSI_DBG_H */