Subject: Re: hw addressing
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Richard Cleis <rcleis@mac.com>
List: port-i386
Date: 01/19/2005 11:01:43
Thanks.  I spent all night investigating NetBSD but only uncovered 
kernel solutions like R.D. suggested.  We installed NetBSD on a Lippert 
( http://www.lippert-at.com/ ) fairly painlessly, even though the 
webpage doesn't mention NetBSD.

rac


On Jan 19, 2005, at 8:45 AM, Nathan J. Williams wrote:

> 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