Help: Base address for ISA-Memory over 82371 bridge

Hi 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,

You shouldn’t have to do anything special with the bridge.

As the bios will have mapped the memory and I/O space for the ISA
bridge. The pci-bios program doesn’t do anything to ISA bridge chips.

E.


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

Hi 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