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

Next file: linux/drivers/scsi/t128.c
Previous file: linux/drivers/scsi/sim710.c
Back to the patch index
Back to the overall index

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

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