From: David Schleef Date: Thu, 28 Jun 2001 23:31:16 +0000 (+0000) Subject: Fix compilation for PCI code X-Git-Tag: r0_7_60~114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fbc110d35cf1e27d88b03e6c865437399710e873;p=comedi.git Fix compilation for PCI code --- diff --git a/comedi/drivers/cb_pcidas.c b/comedi/drivers/cb_pcidas.c index a68b942d..d00512a3 100644 --- a/comedi/drivers/cb_pcidas.c +++ b/comedi/drivers/cb_pcidas.c @@ -436,7 +436,7 @@ found: PCI_BASE_ADDRESS_IO_MASK; #else s5933_config = - devpriv->pci_dev->resource[S5933_BADRINDEX] & + devpriv->pci_dev->resource[S5933_BADRINDEX].start & PCI_BASE_ADDRESS_IO_MASK; control_status = devpriv->pci_dev->resource[CONT_STAT_BADRINDEX].start & @@ -445,10 +445,10 @@ found: devpriv->pci_dev->resource[ADC_FIFO_BADRINDEX].start & PCI_BASE_ADDRESS_IO_MASK; pacer_counter_dio = - devpriv->pci_dev->resource[PACER_BADRINDEX] & + devpriv->pci_dev->resource[PACER_BADRINDEX].start & PCI_BASE_ADDRESS_IO_MASK; ao_registers = - devpriv->pci_dev->resource[AO_BADRINDEX] & + devpriv->pci_dev->resource[AO_BADRINDEX].start & PCI_BASE_ADDRESS_IO_MASK; #endif