From owner-freebsd-hackers Mon Oct 2 06:34:15 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA20551 for hackers-outgoing; Mon, 2 Oct 1995 06:34:15 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA20540 for ; Mon, 2 Oct 1995 06:34:10 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id XAA11536; Mon, 2 Oct 1995 23:27:46 +0930 From: Michael Smith Message-Id: <199510021357.XAA11536@genesis.atrad.adelaide.edu.au> Subject: Re: spl'ing to a specific interrupt level To: pete@puffin.pelican.com (Pete Carah) Date: Mon, 2 Oct 1995 23:27:46 +0930 (CST) Cc: hackers@freebsd.org In-Reply-To: from "Pete Carah" at Oct 1, 95 02:24:00 pm Content-Type: text Content-Length: 1604 Sender: owner-hackers@freebsd.org Precedence: bulk Pete Carah stands accused of saying: > IEEE 488 and its various serial equivalents are examples of things > that would fall into their own class (and a system could easily have > more than one of them so the class would have to be a real class). > There are several 422 industrial busses that use regular tty boards > but don't need protection from regular tty processing since they > are always used in raw mode. Maybe an raw-mode-only driver and > another class could be useful for this case? This is an issue close to my heart just now, as I look to writing 'real' device drivers for various hardware we use. One of these is a 485/232 interface that uses faked 9-bit mode (stuck parity) and DTR drive/listen control. Essentially, it wants to be based on a very cut-down sio driver, with no tty processing and a small set of ioctl's. IIRC, From my following of this thread, I presume that staying with spltty() is the Right Thing to do from the point of view of making something work. I'm also curious to know if anyone has done anything with the Advantech PCL-732, or any similar digital I/O card. It's a sort-of bio device, but the things you do to/with it don't really fit with the current scheme. > -- Pete -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[