All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Dino PCI and I/O spaces
@ 1999-06-14 15:15 Alan Cox
  1999-06-14 15:21 ` Matthew Wilcox
  1999-06-14 20:15 ` Grant Grundler
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Cox @ 1999-06-14 15:15 UTC (permalink / raw)
  To: parisc-linux


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-06-15  0:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-14 15:15 [parisc-linux] Dino PCI and I/O spaces Alan Cox
1999-06-14 15:21 ` Matthew Wilcox
1999-06-14 15:21   ` Alan Cox
1999-06-14 15:37     ` Matthew Wilcox
1999-06-14 16:10       ` Alan Cox
1999-06-14 20:15 ` Grant Grundler
1999-06-14 23:05   ` Alan Cox
1999-06-15  0:48     ` Grant Grundler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.