patch-2.3.13 linux/drivers/net/rcpci45.c
Next file: linux/drivers/net/rrunner.c
Previous file: linux/drivers/net/ptifddi.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Aug 5 15:07:42 1999
- Orig file:
v2.3.12/linux/drivers/net/rcpci45.c
- Orig date:
Wed Jul 21 15:46:48 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/rcpci45.c linux/drivers/net/rcpci45.c
@@ -226,8 +226,7 @@
!((pdev = pci_find_slot(pci_bus, pci_device_fn))))
break;
pci_irq_line = pdev->irq;
- pci_ioaddr = pdev->base_address[0];
- pci_ioaddr &= PCI_BASE_ADDRESS_MEM_MASK;
+ pci_ioaddr = pdev->resource[0].start;
#ifdef RCDEBUG
printk("rc: Found RedCreek PCI adapter\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)