Subject: Re: hw addressing
To: Richard Cleis <rcleis@mac.com>
From: Ian Zagorskih <ianzag@megasignal.com>
List: port-i386
Date: 01/20/2005 13:13:47
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