Date: Wed, 25 Jun 1997 19:50:36 -0700 (PDT) From: 0000-Administrator <root@counterintelligence.cdrom.com> To: questions@freebsd.org Subject: FreeBSD Info Message-ID: <Pine.BSF.3.96.970625194147.608A-100000@counterintelligence.cdrom.com>
next in thread | raw e-mail | index | archive | help
Is there a FreeBSD system call or better yet a device that can be opened (/dev/io just allows the process to directly do io) and read/write to the io ports. I need to port some software from linux which to my own disgust uses inb and outb macros (which are defined in some standard .h include file there) for controlling a analog io board that has no driver. After I used the io ports I found out that there was a /dev/port device that can be opened and read/write to a the file pointer which corresponds to an io port, anyway with the exception of writing a kernel driver (i really don't have the patience for that what can I do) also is there some kind of documentation I can get on ther kernel - particularily it looks like (from calling usleep(1) in a loop that the system timer runs 50-100 ticks /second I want to increase this to like 1000-4000 if that is safe (and won't annoyingly screw up the date/time)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970625194147.608A-100000>