Subject: Re: Dumb question inb,outb/bus_space_read,write
To: samuel Lellouche <samuel.Lellouche@epita.fr>
From: R. C. Dowdeswell <elric@mabelode.imrryr.org>
List: port-i386
Date: 04/13/2000 15:15:16
On 8899868 seconds since the Beginning of the UNIX epoch
samuel Lellouche wrote:
>
>is it beter to do do some bus_space)read/write, than doing simple inb/outb?

Yes.

>if yes why?

inb() and outb() do not work on arbitrary machines, such as the alpha.  (And
these machines support all the same busses as PCs.)

>is it dangerous to simply call inb/outb ?

 == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
 == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
 == The NetBSD Project                            http://www.NetBSD.ORG/  ==