patch-2.3.13 linux/drivers/scsi/inia100.c

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

diff -u --recursive --new-file v2.3.12/linux/drivers/scsi/inia100.c linux/drivers/scsi/inia100.c
@@ -330,7 +330,7 @@
 #if LINUX_VERSION_CODE > CVT_LINUX_VERSION(2,1,92)
 					bPCIBusNum = pdev->bus->number;
 					bPCIDeviceNum = pdev->devfn;
-					dRegValue = pdev->base_address[0];
+					dRegValue = pdev->resource[0].start;
 					if (dRegValue == -1) {	/* Check return code            */
 						printk("\n\rinia100: orchid read configuration error.\n");
 						return (0);	/* Read configuration space error  */

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