blob: 5a43a4cd96c6f6ea9f11d9818fb4e4c5780046a5 [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 *);
12extern void scsi_print_sense(char *, struct scsi_cmnd *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013extern void __scsi_print_sense(const char *name,
14 const unsigned char *sense_buffer,
15 int sense_len);
Martin K. Petersen684b7fe2007-02-27 22:39:44 -050016extern void scsi_show_result(int);
17extern void scsi_print_result(struct scsi_cmnd *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070018extern void scsi_print_status(unsigned char);
Linus Torvalds1da177e2005-04-16 15:20:36 -070019extern const char *scsi_sense_key_string(unsigned char);
20extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
21
22#endif /* _SCSI_SCSI_DBG_H */