patch-2.3.29 linux/drivers/scsi/ncr53c8xx.c

Next file: linux/drivers/scsi/script_asm.pl
Previous file: linux/drivers/scsi/inia100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -4498,7 +4498,7 @@
 	instance->max_id	= np->maxwide ? 16 : 8;
 	instance->max_lun	= SCSI_NCR_MAX_LUN;
 #ifndef NCR_IOMAPPED
-	instance->base		= (char *) np->reg;
+	instance->base		= (unsigned long)np->reg;
 #endif
 	instance->irq		= device->slot.irq;
 	instance->unique_id	= device->slot.io_port;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)