Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 1995 02:22:13 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hardware@freebsd.org, stesin@elvisti.kiev.ua
Subject:   Re: MOXA C104+ 4-port serial card -- runs good for me.
Message-ID:  <199510271622.CAA20908@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510271622.CAA20908>