v2.6.22.24-op1
[linux-2.6.22.y-op.git] / include / scsi / scsi_dbg.h
blob5a43a4cd96c6f6ea9f11d9818fb4e4c5780046a5
1 #ifndef _SCSI_SCSI_DBG_H
2 #define _SCSI_SCSI_DBG_H
4 struct scsi_cmnd;
5 struct scsi_sense_hdr;
7 extern void scsi_print_command(struct scsi_cmnd *);
8 extern void __scsi_print_command(unsigned char *);
9 extern void scsi_show_extd_sense(unsigned char, unsigned char);
10 extern void scsi_show_sense_hdr(struct scsi_sense_hdr *);
11 extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
12 extern void scsi_print_sense(char *, struct scsi_cmnd *);
13 extern void __scsi_print_sense(const char *name,
14 const unsigned char *sense_buffer,
15 int sense_len);
16 extern void scsi_show_result(int);
17 extern void scsi_print_result(struct scsi_cmnd *);
18 extern void scsi_print_status(unsigned char);
19 extern const char *scsi_sense_key_string(unsigned char);
20 extern const char *scsi_extd_sense_format(unsigned char, unsigned char);
22 #endif /* _SCSI_SCSI_DBG_H */