diff options
author | Miquel van Smoorenburg <miquels@cistron.nl> | 2008-05-01 19:07:27 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-02 14:17:01 -0400 |
commit | 62ac5aedc51485d672a5d91c262a001acecbe447 (patch) | |
tree | 6ef44abca20c87312defd3486f5c5db82de36128 /drivers/scsi/dpt/dptsig.h | |
parent | 67af2b060e027c84b8e48d77e00b2369d997c0d4 (diff) |
[SCSI] dpt_i2o: 64 bit support
This is the code to actually support 64 bit platforms. 64 bit
DMA is enabled on both x86_32 PAE and 64 bit platforms.
This code is based in part on the unofficial adaptec 64-bit
dpt_i2o driver update that I got from Mark Salyzyn at Adaptec.
Signed-off-by: Miquel van Smoorenburg <miquels@cistron.nl>
Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/dpt/dptsig.h')
-rw-r--r-- | drivers/scsi/dpt/dptsig.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/scsi/dpt/dptsig.h b/drivers/scsi/dpt/dptsig.h index 94bc894d1200..72c8992fdf21 100644 --- a/drivers/scsi/dpt/dptsig.h +++ b/drivers/scsi/dpt/dptsig.h | |||
@@ -33,11 +33,7 @@ | |||
33 | /* to make sure we are talking the same size under all OS's */ | 33 | /* to make sure we are talking the same size under all OS's */ |
34 | typedef unsigned char sigBYTE; | 34 | typedef unsigned char sigBYTE; |
35 | typedef unsigned short sigWORD; | 35 | typedef unsigned short sigWORD; |
36 | #if (defined(_MULTI_DATAMODEL) && defined(sun) && !defined(_ILP32)) | 36 | typedef unsigned int sigINT; |
37 | typedef uint32_t sigLONG; | ||
38 | #else | ||
39 | typedef unsigned long sigLONG; | ||
40 | #endif | ||
41 | 37 | ||
42 | /* | 38 | /* |
43 | * use sigWORDLittleEndian for: | 39 | * use sigWORDLittleEndian for: |
@@ -300,7 +296,7 @@ typedef struct dpt_sig { | |||
300 | sigBYTE dsFiletype; /* type of file */ | 296 | sigBYTE dsFiletype; /* type of file */ |
301 | sigBYTE dsFiletypeFlags; /* flags to specify load type, etc. */ | 297 | sigBYTE dsFiletypeFlags; /* flags to specify load type, etc. */ |
302 | sigBYTE dsOEM; /* OEM file was created for */ | 298 | sigBYTE dsOEM; /* OEM file was created for */ |
303 | sigLONG dsOS; /* which Operating systems */ | 299 | sigINT dsOS; /* which Operating systems */ |
304 | sigWORD dsCapabilities; /* RAID levels, etc. */ | 300 | sigWORD dsCapabilities; /* RAID levels, etc. */ |
305 | sigWORD dsDeviceSupp; /* Types of SCSI devices supported */ | 301 | sigWORD dsDeviceSupp; /* Types of SCSI devices supported */ |
306 | sigWORD dsAdapterSupp; /* DPT adapter families supported */ | 302 | sigWORD dsAdapterSupp; /* DPT adapter families supported */ |