From owner-freebsd-hardware Fri Oct 27 09:24:29 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA29378 for hardware-outgoing; Fri, 27 Oct 1995 09:24:29 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA29365 for ; Fri, 27 Oct 1995 09:24:25 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA20908; Sat, 28 Oct 1995 02:22:13 +1000 Date: Sat, 28 Oct 1995 02:22:13 +1000 From: Bruce Evans Message-Id: <199510271622.CAA20908@godzilla.zeta.org.au> To: hardware@freebsd.org, stesin@elvisti.kiev.ua Subject: Re: MOXA C104+ 4-port serial card -- runs good for me. Sender: owner-hardware@freebsd.org Precedence: bulk >I couldn't find a way to set where interrupt register lives using >flags in sio.c without stupid hacking it (FreeBSD-2.0.5 from CD), >and finally I threw this register somewhere to a "safe" unused place, >and configured the MOXA card as BOCA >card (told sio.c that interrupt register is not present at all). >Could I solve this better? You solved it right. BOCA cards have an interrupt register too, but it isn't used because no one has written the code to use it and using it would be unportable. Not using the interrupt register costs about 20 usec per interrupt to poll all the ports. Bruce