From owner-freebsd-hardware Fri Oct 27 23:26:20 1995 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA16667 for hardware-outgoing; Fri, 27 Oct 1995 23:26:20 -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 XAA16656 for ; Fri, 27 Oct 1995 23:26:15 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id QAA18121; Sat, 28 Oct 1995 16:19:25 +1000 Date: Sat, 28 Oct 1995 16:19:25 +1000 From: Bruce Evans Message-Id: <199510280619.QAA18121@godzilla.zeta.org.au> To: bde@zeta.org.au, stesin@elvisti.kiev.ua Subject: Re: MOXA C104+ 4-port serial card -- runs good for me. Cc: hardware@freebsd.org Sender: owner-hardware@freebsd.org Precedence: bulk ># 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. ># > What will be a Good Official Way of making sio.c smart > about the location of the interrupt register > (and this way generalizing support for MOXA, AST-4, ARNET-8, > BOCA boards -- each have one but at different > or tunable location)? There isn't one. There is no code to support interrupt registers. For the AST, there is code to handle AST's (in)compatibility register. The compatibility register just happens to have the same address as the interrupt register. Bruce