From owner-freebsd-hackers Fri Nov 14 20:50:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA29616 for hackers-outgoing; Fri, 14 Nov 1997 20:50:15 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from out2.ibm.net (out2.ibm.net [165.87.194.229]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA29603 for ; Fri, 14 Nov 1997 20:50:07 -0800 (PST) (envelope-from mouth@ibm.net) Received: from slip129-37-53-78.ca.us.ibm.net (slip129-37-53-78.ca.us.ibm.net [129.37.53.78]) by out2.ibm.net (8.8.5/8.6.9) with SMTP id EAA67410; Sat, 15 Nov 1997 04:49:57 GMT From: mouth@ibm.net (John Kelly) To: Bruce Evans Cc: hackers@FreeBSD.ORG Subject: Re: Status of 650 UART support Date: Sat, 15 Nov 1997 05:51:11 GMT Message-ID: <346d33da.1391195@smtp-gw01.ny.us.ibm.net> References: <199711150423.PAA28278@godzilla.zeta.org.au> In-Reply-To: <199711150423.PAA28278@godzilla.zeta.org.au> X-Mailer: Forte Agent 1.01/16.397 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id UAA29607 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 15 Nov 1997 15:23:09 +1100, Bruce Evans wrote: >>>>Edge triggered interrupts >They force the interrupt handler to check all possible sources of the >interrupt, although 90-99% of the times there will only be one interrupt >source so returning after handling only one is best if checking the >others is expensive (as it is for separate ISA devices). Right. And that brings up something I've been wondering about on my 8-port serial card with 650s. Suppose I set all 8 ports to 460,800 bps and saturate them with inbound data. With the 32-byte FIFO I might set the trigger level to 16, giving 16 bytes of headroom in each UART, or possibly set the trigger level to 8, giving 24 bytes of headroom. Once I start draining the first UART, will I reach the eighth UART before it's overrun, and if so, how much margin will I have? I'm not sure how to calculate the time required for the 8-bit bus cycles. John