blob: 4d69dee66d4d0327ce174e49000fe983abdbbb0d [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;
5struct scsi_request;
James Bottomleyea73a9f2005-08-28 11:33:52 -05006struct scsi_sense_hdr;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8extern void scsi_print_command(struct scsi_cmnd *);
James Bottomleyea73a9f2005-08-28 11:33:52 -05009extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070010extern void __scsi_print_command(unsigned char *);
11extern void scsi_print_sense(const char *, struct scsi_cmnd *);
12extern void scsi_print_req_sense(const char *, struct scsi_request *);
13extern void __scsi_print_sense(const char *name,
14 const unsigned char *sense_buffer,
15 int sense_len);
16extern void scsi_print_driverbyte(int);
17extern void scsi_print_hostbyte(int);
18extern 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 */