patch-2.3.13 linux/drivers/scsi/advansys.c
Next file: linux/drivers/scsi/aic7xxx.c
Previous file: linux/drivers/scsi/README.st
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Aug 5 15:07:42 1999
- Orig file:
v2.3.12/linux/drivers/scsi/advansys.c
- Orig date:
Tue Dec 29 11:35:48 1998
diff -u --recursive --new-file v2.3.12/linux/drivers/scsi/advansys.c linux/drivers/scsi/advansys.c
@@ -4370,7 +4370,7 @@
ASC_DBG2(2,
"advansys_detect: devfn %d, bus number %d\n",
pci_devp->devfn, pci_devp->bus->number);
- iop = pci_devp->base_address[0] & PCI_IOADDRESS_MASK;
+ iop = pci_devp->resource[0].start;
ASC_DBG2(1,
"advansys_detect: vendorID %X, deviceID %X\n",
pci_devp->vendor, pci_devp->device);
@@ -4484,7 +4484,7 @@
#endif /* ASC_CONFIG_PCI */
#else /* version >= v2.1.93 */
#ifdef CONFIG_PCI
- pci_memory_address = pci_devp->base_address[1];
+ pci_memory_address = pci_devp->resource[1].start;
if ((boardp->ioremap_addr =
ioremap(pci_memory_address & PAGE_MASK,
PAGE_SIZE)) == 0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)