From owner-freebsd-hackers Tue Nov 9 7:56: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from tornado.cisco.com (tornado.cisco.com [171.69.104.22]) by hub.freebsd.org (Postfix) with ESMTP id D7D8314DDB; Tue, 9 Nov 1999 07:55:54 -0800 (PST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from bmcgover-pc.cisco.com (root@bmcgover-pc.cisco.com [171.69.104.147]) by tornado.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id KAA19025; Tue, 9 Nov 1999 10:55:52 -0500 (EST) Received: from bmcgover-pc.cisco.com (bmcgover@localhost.pa.dtd.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.9.3/8.9.3) with ESMTP id KAA01889; Tue, 9 Nov 1999 10:55:52 -0500 (EST) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <199911091555.KAA01889@bmcgover-pc.cisco.com> To: hackers@freebsd.org, peter@freebsd.org Subject: How does sio handle full clists? Date: Tue, 09 Nov 1999 10:55:52 -0500 From: Brian McGovern Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been digging around in the sio driver, trying to find out how it handles receive interrupts when the clists are full. What I think I found (which is why I'm asking) is that if an RX interrupt occurs, and the clists are full and the driver can't offload all of the data from the UART, it disables the interrupts. I assume that at some later point (I haven't quite nailed this down), interrupts get enabled again, which will generate a fresh interrupt from the data that is still stored on the UART. I guess I'm looking for confirmation of this, and, if I'm way off, maybe a quick explanatio of what _really_ happens. I'm looking at trying to reuse the behavior elsewhere, so I want a good understanding of the process before I get myself in to too much trouble. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message