[parisc-linux-cvs] 64-bit cleanups for zalon7xx driver.
Ryan Bradetich
rbradetich@uswest.net
Sun, 04 Mar 2001 12:30:44 -0700
This is a multi-part message in MIME format.
--------------F114190090C3FFCDDA0738A3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
A few 64-bit cleanups for the zalon7xx driver.
- Ryan
--------------F114190090C3FFCDDA0738A3
Content-Type: text/plain; charset=us-ascii;
name="zalon7xx.c.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="zalon7xx.c.patch"
Index: drivers/scsi/zalon7xx.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/scsi/zalon7xx.c,v
retrieving revision 1.4
diff -u -p -r1.4 zalon7xx.c
--- zalon7xx.c 2000/09/28 07:00:03 1.4
+++ zalon7xx.c 2001/03/04 19:24:20
@@ -47,7 +47,7 @@ static int zalon_scsi_callback(struct hp
extern int zalon_attach(Scsi_Host_Template *tpnt,
- u32 base_addr,
+ unsigned long base_addr,
int irq_vector,
int unit
);
@@ -103,7 +103,7 @@ zalon_scsi_callback(struct hp_device *d,
struct gsc_irq gsc_irq;
u32 zalon_vers;
int irq;
- u32 zalon = (u32)d->hpa;
+ unsigned long zalon = (unsigned long)d->hpa;
writel(CMD_RESET, zalon + IO_MODULE_IO_COMMAND);
while (!(readl(zalon + IO_MODULE_IO_STATUS) & IOSTATUS_RY))
@@ -131,7 +131,7 @@ zalon_scsi_callback(struct hp_device *d,
/*
** zalon_attach: returns -1 on failure, 0 on success
*/
- hosts_used = zalon_attach(hosts_tptr, (u32)d->hpa + GSC_SCSI_ZALON_OFFSET,
+ hosts_used = zalon_attach(hosts_tptr, (unsigned long)d->hpa + GSC_SCSI_ZALON_OFFSET,
irq, zalon_id);
if (hosts_used == 0)
--------------F114190090C3FFCDDA0738A3--