Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 1996 23:05:04 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        ts@polynet.lviv.ua
Subject:   Re: Q: How to read hardware port ?
Message-ID:  <199611082205.XAA07749@uriah.heep.sax.de>
In-Reply-To: <199611081449.PAA00718@ra.dkuug.dk> from "sos@freebsd.org" at "Nov 8, 96 03:49:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As sos@freebsd.org wrote:

> > How can i read hardware port in Unix ?

> Open /dev/io and use the inb/outb etc functions, you must be
> root though for this to work (with good reason).

Better yet, write a device driver doing the actual hardware work. ;-)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611082205.XAA07749>