From owner-freebsd-questions Wed Jun 25 19:50:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA29387 for questions-outgoing; Wed, 25 Jun 1997 19:50:48 -0700 (PDT) Received: from counterintelligence.cdrom.com (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA29380 for ; Wed, 25 Jun 1997 19:50:42 -0700 (PDT) Received: from localhost (root@localhost) by counterintelligence.cdrom.com (8.8.5/8.8.5) with SMTP id TAA00628 for ; Wed, 25 Jun 1997 19:50:36 -0700 (PDT) Date: Wed, 25 Jun 1997 19:50:36 -0700 (PDT) From: 0000-Administrator To: questions@freebsd.org Subject: FreeBSD Info Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)