patch-2.3.13 linux/drivers/isdn/hisax/diva.c
Next file: linux/drivers/isdn/hisax/elsa.c
Previous file: linux/drivers/i2o/i2o_scsi.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Aug 6 11:43:09 1999
- Orig file:
v2.3.12/linux/drivers/isdn/hisax/diva.c
- Orig date:
Thu Jul 8 15:42:20 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/isdn/hisax/diva.c linux/drivers/isdn/hisax/diva.c
@@ -510,7 +510,7 @@
/* get IRQ */
cs->irq = dev_diva->irq;
/* get IO address */
- cs->hw.diva.cfg_reg = dev_diva->base_address[2]
+ cs->hw.diva.cfg_reg = dev_diva->resource[2].start
& PCI_BASE_ADDRESS_IO_MASK;
} else if ((dev_diva_u = pci_find_device(PCI_VENDOR_EICON_DIEHL,
PCI_DIVA20_U_ID, dev_diva_u))) {
@@ -518,7 +518,7 @@
/* get IRQ */
cs->irq = dev_diva_u->irq;
/* get IO address */
- cs->hw.diva.cfg_reg = dev_diva_u->base_address[2]
+ cs->hw.diva.cfg_reg = dev_diva_u->resource[2].start
& PCI_BASE_ADDRESS_IO_MASK;
} else {
printk(KERN_WARNING "Diva: 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)