[openbeos] Re: IO space access

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 18 May 2003 21:07:47 +0200 (CEST)

En réponse à Bruno van Dooren <bruno_van_dooren@xxxxxxxxxxx>:

> > The simplest is to use isa/pci->read/write_io_8(), which are 
> > platform-independant, and not that much slower.
> 
> does it matter which one is use PCI or ISA?
> maybe PCI is better, because the protocol is better?
> on the other hand: PS2 is connected to the ISA bridge, which
> of course if connected to the PCI bridge...
> 

On x86 at least both are identical I think.
However it's cleaner to use the one which your device depend on 
(besides, no need to get_module(ISA) only for this if you have 
a PCI dev).

In this case, ISA should be the one I think.

François.

Other related posts: