Subject: Re: How to port inportb/outportb to NetBSD ???
To: Brian Stark <bstark@uswest.net>
From: Frank van der Linden <frank@wins.uva.nl>
List: port-i386
Date: 11/26/1999 12:51:15
On Fri, Nov 26, 1999 at 05:35:29AM -0600, Brian Stark wrote:
> callisto:bstark$ ./esic check 0x300
> Hayes Enhanced Serial Interface (ESI) Utility
> Copyright 1996-1999 by Brian P. Stark. All rights reserved.
> 
> Bus error (core dumped) 

[...]

If you're Joe Average user, you can't use inb, outb and friends. Try
running your program as root, and use i386_iopl() to enable access
to I/O ports.

Does your program really need to access I/O ports? Is there no way
to stick the functionality that needs this access in a device driver,
as is usually done?

- Frank