Subject: Re: hw addressing
To: Ian Zagorskih <ianzag@megasignal.com>
From: Richard Cleis <rcleis@mac.com>
List: port-i386
Date: 01/20/2005 11:44:27
Thanks.  That is the route I am taking.

rac

On Jan 20, 2005, at 1:13 AM, Ian Zagorskih wrote:

> Richard Cleis wrote:
>
>> 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?
>
> If doint it right way, you need to write a driver for your PC104 
> board. From driver you can access ISA/PCI/other bus with 
> bus_space_read()/bus_space_write() functions.
>
> man bus_space(9) or
> http://netbsd.gw.com/cgi-bin/man-cgi?bus_space++NetBSD-current
>
> // wbr