Help: Base address for ISA-Memory over 82371 bridge

Hy everybody
I’m trying to write a driver for the motor controller card ESC629 from RTD,
which is on the ISA-Bus in my system. I’ve the processor board MSMP5SE_P3SE
from Digital Logic with a PCI/ISA bridge 82371AB/EB PIIX4. Both cards are
based on PC/104.
To access the ESC629 over the bridge i should know the base adress of the
ISA-Memory to map it in the memory of my application.
I used some methods to access the pci-bus like:

pci_attach(0)
pci_attach_device
pci_find_device
pci_read_config32(bus, deviceFunction, 0x18, 1, &bar2)

But in the last line above i don’t know exactly which offset (0x18) i have
to use.

Who can help me and who has experience with this bridge under qnx.
An example would be very useful for me.

Thanks

urs

Hi Urs,

Could you please post the output of pci -vvv in text form.

Thanks

E.


Urs Zbinden <urs.zbinden@csem.ch> wrote:

Hy everybody
I’m trying to write a driver for the motor controller card ESC629 from RTD,
which is on the ISA-Bus in my system. I’ve the processor board MSMP5SE_P3SE
from Digital Logic with a PCI/ISA bridge 82371AB/EB PIIX4. Both cards are
based on PC/104.
To access the ESC629 over the bridge i should know the base adress of the
ISA-Memory to map it in the memory of my application.
I used some methods to access the pci-bus like:

pci_attach(0)
pci_attach_device
pci_find_device
pci_read_config32(bus, deviceFunction, 0x18, 1, &bar2)

But in the last line above i don’t know exactly which offset (0x18) i have
to use.

Who can help me and who has experience with this bridge under qnx.
An example would be very useful for me.

Thanks

urs