Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 1996 12:28:50 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        eeg@telecom.at (Hollerer)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How can I read/write from/to an I/O-port?
Message-ID:  <199604191028.MAA13352@gilberto.physik.rwth-aachen.de>
In-Reply-To: <317764B2.6DCC0261@telecom.at> from <Hollerer@Apr>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hi,
> 
> I have a little problem. So I hope someone can help
> me:
>  
> Under Linux a /dev/port exits to write/read to/from an I/O-port.
> Does a similar /dev/??? exits under FreeBSD or must I write
> a little device driver for this?

Under FreeBSD there is /dev/io.

Do an open("/dev/io",flags,mode) on it and you can access i/o
ports using in/out instructions.


>  
> Thanks,
>  
> Franz
> 
> 
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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