summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-03-08 09:14:28 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 16:15:21 +0100
commitad0e1d9f0155073cffb74755fb21c0fb82b1b094 (patch)
treef28b92bcd417b5d1715e5e1fa5e485cf22b20225
parent[SCSI] drivers/scsi/FlashPoint.c: remove ushort_ptr (diff)
downloadlinux-ad0e1d9f0155073cffb74755fb21c0fb82b1b094.tar.xz
linux-ad0e1d9f0155073cffb74755fb21c0fb82b1b094.zip
[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>
-rw-r--r--drivers/scsi/FlashPoint.c18
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 @@
-#define s08bits char
-#define s16bits short
-#define s32bits long
-#define u08bits unsigned s08bits
-#define u16bits unsigned s16bits
-#define u32bits unsigned s32bits
@@ -245,12 +239,12 @@ typedef struct _SCCB {
#define SG_ELEMENT_SIZE 8 /*Eight byte per element. */
-#define RD_HARPOON(ioport) inb((u32bits)ioport)
-#define RDW_HARPOON(ioport) inw((u32bits)ioport)
-#define RD_HARP32(ioport,offset,data) (data = inl((u32bits)(ioport + offset)))
-#define WR_HARPOON(ioport,val) outb((u08bits) val, (u32bits)ioport)
-#define WRW_HARPOON(ioport,val) outw((u16bits)val, (u32bits)ioport)
-#define WR_HARP32(ioport,offset,data) outl(data, (u32bits)(ioport + offset))
+#define RD_HARPOON(ioport) inb((u32)ioport)
+#define RDW_HARPOON(ioport) inw((u32)ioport)
+#define RD_HARP32(ioport,offset,data) (data = inl((u32)(ioport + offset)))
+#define WR_HARPOON(ioport,val) outb((u8) val, (u32)ioport)
+#define WRW_HARPOON(ioport,val) outw((u16)val, (u32)ioport)
+#define WR_HARP32(ioport,offset,data) outl(data, (u32)(ioport + offset))
#define TAR_SYNC_MASK (BIT(7)+BIT(6))