diff options
Diffstat (limited to 'drivers/scsi/scsi.h')
-rw-r--r-- | drivers/scsi/scsi.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/drivers/scsi/scsi.h b/drivers/scsi/scsi.h index cb6b5fbb7e14..e2360c26ef01 100644 --- a/drivers/scsi/scsi.h +++ b/drivers/scsi/scsi.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/config.h> /* for CONFIG_SCSI_LOGGING */ | 23 | #include <linux/config.h> /* for CONFIG_SCSI_LOGGING */ |
24 | 24 | ||
25 | #include <scsi/scsi_cmnd.h> | 25 | #include <scsi/scsi_cmnd.h> |
26 | #include <scsi/scsi_dbg.h> | ||
27 | #include <scsi/scsi_device.h> | 26 | #include <scsi/scsi_device.h> |
28 | #include <scsi/scsi_eh.h> | 27 | #include <scsi/scsi_eh.h> |
29 | #include <scsi/scsi_request.h> | 28 | #include <scsi/scsi_request.h> |
@@ -61,48 +60,6 @@ struct scatterlist; | |||
61 | #define scsi_to_pci_dma_dir(scsi_dir) ((int)(scsi_dir)) | 60 | #define scsi_to_pci_dma_dir(scsi_dir) ((int)(scsi_dir)) |
62 | #define scsi_to_sbus_dma_dir(scsi_dir) ((int)(scsi_dir)) | 61 | #define scsi_to_sbus_dma_dir(scsi_dir) ((int)(scsi_dir)) |
63 | 62 | ||
64 | /* | ||
65 | * Old names for debug prettyprinting functions. | ||
66 | */ | ||
67 | static inline void print_Scsi_Cmnd(struct scsi_cmnd *cmd) | ||
68 | { | ||
69 | return scsi_print_command(cmd); | ||
70 | } | ||
71 | static inline void print_command(unsigned char *cdb) | ||
72 | { | ||
73 | return __scsi_print_command(cdb); | ||
74 | } | ||
75 | static inline void print_sense(const char *devclass, struct scsi_cmnd *cmd) | ||
76 | { | ||
77 | return scsi_print_sense(devclass, cmd); | ||
78 | } | ||
79 | static inline void print_req_sense(const char *devclass, struct scsi_request *req) | ||
80 | { | ||
81 | return scsi_print_req_sense(devclass, req); | ||
82 | } | ||
83 | static inline void print_driverbyte(int scsiresult) | ||
84 | { | ||
85 | return scsi_print_driverbyte(scsiresult); | ||
86 | } | ||
87 | static inline void print_hostbyte(int scsiresult) | ||
88 | { | ||
89 | return scsi_print_hostbyte(scsiresult); | ||
90 | } | ||
91 | static inline void print_status(unsigned char status) | ||
92 | { | ||
93 | return scsi_print_status(status); | ||
94 | } | ||
95 | static inline int print_msg(const unsigned char *msg) | ||
96 | { | ||
97 | return scsi_print_msg(msg); | ||
98 | } | ||
99 | |||
100 | /* | ||
101 | * This is the crap from the old error handling code. We have it in a special | ||
102 | * place so that we can more easily delete it later on. | ||
103 | */ | ||
104 | #include "scsi_obsolete.h" | ||
105 | |||
106 | /* obsolete typedef junk. */ | 63 | /* obsolete typedef junk. */ |
107 | #include "scsi_typedefs.h" | 64 | #include "scsi_typedefs.h" |
108 | 65 | ||