[parisc-linux] Dino PCI and I/O spaces

Alan Cox alan@lxorguk.ukuu.org.uk
Mon, 14 Jun 1999 16:15:08 +0100


I've put together draft code to handle the Dino PCI configuration space
accesses. There seems to be no way to do byte sized config accesses, do
I just read 32bits mask and write 32bits ?

The I/O space documentation also doesn't cover how to force sizes for
inb/inw/inl.

Im guessing you simply do that sized memory access to the 0x6C offset.

I'm mapping the notional I/O space 0x0000->0xFFFF as PCI space I/O. Since
HP boxes have I/O space high no MMIO can be confused for PCI this way.
If we have multiple Dino's in any box I need to put my thinking hat back on.

Also as a btw: PCI I/O port access will suck rocks on HP because we have
to grab a lock since it is a two stage operation. That may mean we want
to write smart copy/csum/io and ins* functions for PCI block I/O.

Alan