blob: b090a11d7e1c87ee20eb7458f3e0bb3ed3651cce [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);
19extern int scsi_print_msg(const unsigned char *);
20extern const char *scsi_sense_key_string(unsigned char);
21extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
22
23#endif /* _SCSI_SCSI_DBG_H */