patch-2.3.13 linux/drivers/net/irda/toshoboe.c
Next file: linux/drivers/net/lance.c
Previous file: linux/drivers/net/hp100.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Aug 5 15:04:52 1999
- Orig file:
v2.3.12/linux/drivers/net/irda/toshoboe.c
- Orig date:
Thu Jul 8 15:42:20 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/net/irda/toshoboe.c linux/drivers/net/irda/toshoboe.c
@@ -713,7 +713,7 @@
dev_self[i] = self;
self->pdev = pci_dev;
- self->base = pci_dev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
+ self->base = pci_dev->resource[0].start;
idev = &self->idev;
@@ -850,7 +850,7 @@
if (pci_dev)
{
printk (KERN_WARNING "ToshOboe: Found 701 chip at 0x%0lx irq %d\n",
- pci_dev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK,
+ pci_dev->resource[0],
pci_dev->irq);
if (!toshoboe_open (pci_dev))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)