diff options
Diffstat (limited to 'drivers/scsi/a3000.h')
-rw-r--r-- | drivers/scsi/a3000.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/scsi/a3000.h b/drivers/scsi/a3000.h index c7afe16fd6e4..684813ee378c 100644 --- a/drivers/scsi/a3000.h +++ b/drivers/scsi/a3000.h | |||
@@ -12,40 +12,40 @@ | |||
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | 13 | ||
14 | #ifndef CMD_PER_LUN | 14 | #ifndef CMD_PER_LUN |
15 | #define CMD_PER_LUN 2 | 15 | #define CMD_PER_LUN 2 |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #ifndef CAN_QUEUE | 18 | #ifndef CAN_QUEUE |
19 | #define CAN_QUEUE 16 | 19 | #define CAN_QUEUE 16 |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * if the transfer address ANDed with this results in a non-zero | 23 | * if the transfer address ANDed with this results in a non-zero |
24 | * result, then we can't use DMA. | 24 | * result, then we can't use DMA. |
25 | */ | 25 | */ |
26 | #define A3000_XFER_MASK (0x00000003) | 26 | #define A3000_XFER_MASK (0x00000003) |
27 | 27 | ||
28 | typedef struct { | 28 | typedef struct { |
29 | unsigned char pad1[2]; | 29 | unsigned char pad1[2]; |
30 | volatile unsigned short DAWR; | 30 | volatile unsigned short DAWR; |
31 | volatile unsigned int WTC; | 31 | volatile unsigned int WTC; |
32 | unsigned char pad2[2]; | 32 | unsigned char pad2[2]; |
33 | volatile unsigned short CNTR; | 33 | volatile unsigned short CNTR; |
34 | volatile unsigned long ACR; | 34 | volatile unsigned long ACR; |
35 | unsigned char pad3[2]; | 35 | unsigned char pad3[2]; |
36 | volatile unsigned short ST_DMA; | 36 | volatile unsigned short ST_DMA; |
37 | unsigned char pad4[2]; | 37 | unsigned char pad4[2]; |
38 | volatile unsigned short FLUSH; | 38 | volatile unsigned short FLUSH; |
39 | unsigned char pad5[2]; | 39 | unsigned char pad5[2]; |
40 | volatile unsigned short CINT; | 40 | volatile unsigned short CINT; |
41 | unsigned char pad6[2]; | 41 | unsigned char pad6[2]; |
42 | volatile unsigned short ISTR; | 42 | volatile unsigned short ISTR; |
43 | unsigned char pad7[30]; | 43 | unsigned char pad7[30]; |
44 | volatile unsigned short SP_DMA; | 44 | volatile unsigned short SP_DMA; |
45 | unsigned char pad8; | 45 | unsigned char pad8; |
46 | volatile unsigned char SASR; | 46 | volatile unsigned char SASR; |
47 | unsigned char pad9; | 47 | unsigned char pad9; |
48 | volatile unsigned char SCMD; | 48 | volatile unsigned char SCMD; |
49 | } a3000_scsiregs; | 49 | } a3000_scsiregs; |
50 | 50 | ||
51 | #define DAWR_A3000 (3) | 51 | #define DAWR_A3000 (3) |