patch-2.3.13 linux/drivers/scsi/fdomain.c
Next file: linux/drivers/scsi/g_NCR5380.c
Previous file: linux/drivers/scsi/eata_pio.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Aug 9 10:25:01 1999
- Orig file:
v2.3.12/linux/drivers/scsi/fdomain.c
- Orig date:
Tue Dec 29 11:44:53 1998
diff -u --recursive --new-file v2.3.12/linux/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c
@@ -840,14 +840,14 @@
/* We now have the appropriate device function for the FD board so we
just read the PCI config info from the registers. */
- pci_base = pdev->base_address[0];
+ pci_base = pdev->resource[0].start;
pci_irq = pdev->irq;
/* Now we have the I/O base address and interrupt from the PCI
configuration registers. */
*irq = pci_irq;
- *iobase = (pci_base & PCI_BASE_ADDRESS_IO_MASK);
+ *iobase = pci_base;
#if DEBUG_DETECT
printk( "scsi: <fdomain> TMC-3260 detect:"
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)