diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-03-08 03:14:28 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:15:21 -0500 |
commit | ad0e1d9f0155073cffb74755fb21c0fb82b1b094 (patch) | |
tree | f28b92bcd417b5d1715e5e1fa5e485cf22b20225 /drivers/scsi | |
parent | fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 (diff) |
[SCSI] drivers/scsi/FlashPoint.c: use standard fixed size types
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/FlashPoint.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 6089af003130..022a4c0da7e1 100644 --- a/drivers/scsi/FlashPoint.c +++ b/drivers/scsi/FlashPoint.c | |||
@@ -44,13 +44,7 @@ | |||
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | #define s08bits char | ||
48 | #define s16bits short | ||
49 | #define s32bits long | ||
50 | 47 | ||
51 | #define u08bits unsigned s08bits | ||
52 | #define u16bits unsigned s16bits | ||
53 | #define u32bits unsigned s32bits | ||
54 | 48 | ||
55 | 49 | ||
56 | 50 | ||
@@ -245,12 +239,12 @@ typedef struct _SCCB { | |||
245 | #define SG_ELEMENT_SIZE 8 /*Eight byte per element. */ | 239 | #define SG_ELEMENT_SIZE 8 /*Eight byte per element. */ |
246 | 240 | ||
247 | 241 | ||
248 | #define RD_HARPOON(ioport) inb((u32bits)ioport) | 242 | #define RD_HARPOON(ioport) inb((u32)ioport) |
249 | #define RDW_HARPOON(ioport) inw((u32bits)ioport) | 243 | #define RDW_HARPOON(ioport) inw((u32)ioport) |
250 | #define RD_HARP32(ioport,offset,data) (data = inl((u32bits)(ioport + offset))) | 244 | #define RD_HARP32(ioport,offset,data) (data = inl((u32)(ioport + offset))) |
251 | #define WR_HARPOON(ioport,val) outb((u08bits) val, (u32bits)ioport) | 245 | #define WR_HARPOON(ioport,val) outb((u8) val, (u32)ioport) |
252 | #define WRW_HARPOON(ioport,val) outw((u16bits)val, (u32bits)ioport) | 246 | #define WRW_HARPOON(ioport,val) outw((u16)val, (u32)ioport) |
253 | #define WR_HARP32(ioport,offset,data) outl(data, (u32bits)(ioport + offset)) | 247 | #define WR_HARP32(ioport,offset,data) outl(data, (u32)(ioport + offset)) |
254 | 248 | ||
255 | 249 | ||
256 | #define TAR_SYNC_MASK (BIT(7)+BIT(6)) | 250 | #define TAR_SYNC_MASK (BIT(7)+BIT(6)) |