patch-2.3.13 linux/drivers/isdn/hisax/elsa.c
Next file: linux/drivers/isdn/hisax/netjet.c
Previous file: linux/drivers/isdn/hisax/diva.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Aug 6 11:43:09 1999
- Orig file:
v2.3.12/linux/drivers/isdn/hisax/elsa.c
- Orig date:
Sun May 23 10:03:41 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/isdn/hisax/elsa.c linux/drivers/isdn/hisax/elsa.c
@@ -1027,17 +1027,17 @@
dev_qs1000))) {
cs->subtyp = ELSA_QS1000PCI;
cs->irq = dev_qs1000->irq;
- cs->hw.elsa.cfg = dev_qs1000->base_address[1] &
+ cs->hw.elsa.cfg = dev_qs1000->resource[1].start &
PCI_BASE_ADDRESS_IO_MASK;
- cs->hw.elsa.base = dev_qs1000->base_address[3] &
+ cs->hw.elsa.base = dev_qs1000->resource[3].start &
PCI_BASE_ADDRESS_IO_MASK;
} else if ((dev_qs3000 = pci_find_device(PCI_VENDOR_ELSA,
PCI_QS3000_ID, dev_qs3000))) {
cs->subtyp = ELSA_QS3000PCI;
cs->irq = dev_qs3000->irq;
- cs->hw.elsa.cfg = dev_qs3000->base_address[1] &
+ cs->hw.elsa.cfg = dev_qs3000->resource[1].start &
PCI_BASE_ADDRESS_IO_MASK;
- cs->hw.elsa.base = dev_qs3000->base_address[3] &
+ cs->hw.elsa.base = dev_qs3000->resource[3].start &
PCI_BASE_ADDRESS_IO_MASK;
} else {
printk(KERN_WARNING "Elsa: No PCI card found\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)