Go to the documentation of this file.
34 #include <linux/types.h>
38 #define STATUS(base) base
48 #define INTRFLAGS(base) (STATUS(base)+2)
57 #define CONTROL(base) STATUS(base)
64 #define DATA(base) (STATUS(base)+1)
66 #define CMD_MBINIT 0x01
67 #define CMD_START_SCSI 0x02
68 #define CMD_INQUIRY 0x04
69 #define CMD_EMBOI 0x05
70 #define CMD_BUSON_TIME 0x07
71 #define CMD_BUSOFF_TIME 0x08
72 #define CMD_DMASPEED 0x09
73 #define CMD_RETDEVS 0x0a
74 #define CMD_RETCONF 0x0b
75 #define CMD_RETSETUP 0x0d
78 #define CMD_EXTBIOS 0x28
79 #define CMD_MBENABLE 0x29
101 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) )
103 #define xany2scsi(up, p) \
104 (up)[0] = ((long)(p)) >> 24; \
105 (up)[1] = ((long)(p)) >> 16; \
106 (up)[2] = ((long)(p)) >> 8; \
107 (up)[3] = ((long)(p));
109 #define xscsi2int(up) ( (((long)(up)[0]) << 24) + (((long)(up)[1]) << 16) \
110 + (((long)(up)[2]) << 8) + ((long)(up)[3]) )
136 static int aha1542_bus_reset(
Scsi_Cmnd * SCpnt);
137 static int aha1542_dev_reset(
Scsi_Cmnd * SCpnt);
138 static int aha1542_host_reset(
Scsi_Cmnd * SCpnt);
140 static int aha1542_old_abort(
Scsi_Cmnd * SCpnt);
141 static int aha1542_old_reset(
Scsi_Cmnd *,
unsigned int);
146 #define AHA1542_MAILBOXES 8
147 #define AHA1542_SCATTER 16
148 #define AHA1542_CMDLUN 1