Date: Sat, 15 Nov 1997 00:53:49 GMT From: mouth@ibm.net (John Kelly) To: Bruce Evans <bde@zeta.org.au> Cc: hackers@FreeBSD.ORG Subject: Re: Status of 650 UART support Message-ID: <346eea54.40322529@smtp-gw01.ny.us.ibm.net> In-Reply-To: <199711141353.AAA01430@godzilla.zeta.org.au> References: <199711141353.AAA01430@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Nov 1997 00:53:34 +1100, Bruce Evans <bde@zeta.org.au> wrote: >interrupts need to be reenabled on the polled ports as soon as everything > in them is polled Only if your clock interrupt is too slow. But I wanted to change that and leave the UART in polled mode after draining it. Only after 5 polls with no data would I switch it back to interrupt mode. Then the serial ISR could ignore all ports being polled. >The next clock interrupt is an average of 5 msec away Would it be feasible to tick the clock every 1ms to schedule UART polling and on every fifth tick run the usual kernel scheduling? John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?346eea54.40322529>