Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 1998 09:21:34 -0500
From:      Jonathan Lemon <jlemon@americantv.com>
To:        chief@dp.energy.gov.ua
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to access to low-level I/O hardware port from user program using "in" & "out" functions ?
Message-ID:  <19980603092134.56348@right.PCS>
In-Reply-To: <35752636.1E910B1E@dp.energy.gov.ua>; from Slava Tarasjuk on Jun 06, 1998 at 01:32:22PM %2B0300
References:  <35752636.1E910B1E@dp.energy.gov.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 06, 1998 at 01:32:22PM +0300, Slava Tarasjuk wrote:
> How to access to low-level I/O hardware port (for example, to ount
> register of lan card)
> from user program using "in" & "out" functions ? In BSDI present
> "ioport" program, with
> which i cah enable or disable user level access to I/O ports.

Open the "/dev/io" file.  As long as your program holds a descriptor
to this file, it will be permitted I/O access.
--
Jonathan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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