Subject: Re: hw addressing
To: Richard Cleis <rcleis@mac.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-i386
Date: 01/19/2005 10:45:30
Richard Cleis <rcleis@mac.com> writes:

> I want to access PC104 hardware addresses on a single board computer
> manufactured by Lippert.  With White Dwarf linux, I fuss with inb and
> outb; how can I do this with NetBSD?

From a user application? Use i386_get_ioperm()/i386_set_ioperm() or
i386_iopl() and then use the inb()/inw()/outb()/outw() macros in
<i386/pio.h>.

        - Nathan