patch-2.4.0-test2 linux/drivers/scsi/fdomain.c
Next file: linux/drivers/scsi/gdth.c
Previous file: linux/drivers/scsi/eata_pio.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Jun 19 13:42:40 2000
- Orig file:
v2.4.0-test1/linux/drivers/scsi/fdomain.c
- Orig date:
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c
@@ -828,6 +828,7 @@
PCI_DEVICE_ID_FD_36C70,
pdev)) == NULL)
return 0;
+ if (pci_enable_device(pdev)) return 0;
#if DEBUG_DETECT
printk( "scsi: <fdomain> TMC-3260 detect:"
@@ -840,7 +841,7 @@
/* 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->resource[0].start;
+ pci_base = pci_resource_start(pdev, 0);
pci_irq = pdev->irq;
/* Now we have the I/O base address and interrupt from the PCI
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)