From owner-cvs-all Sat Dec 1 19:47:36 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5EC8E37B417; Sat, 1 Dec 2001 19:47:33 -0800 (PST) Received: (from scottl@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB23lXg59578; Sat, 1 Dec 2001 19:47:33 -0800 (PST) (envelope-from scottl) Message-Id: <200112020347.fB23lXg59578@freefall.freebsd.org> From: Scott Long Date: Sat, 1 Dec 2001 19:47:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aac aac.c aac_debug.c aac_disk.c aac_ioctl.h aac_pci.c aac_tables.h aacreg.h aacvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG scottl 2001/12/01 19:47:33 PST Modified files: sys/dev/aac aac.c aac_debug.c aac_disk.c aac_ioctl.h aac_pci.c aac_tables.h aacreg.h aacvar.h Log: Add functionality and fix bugs so the driver will work with soon-to-be released management apps. 1. Implement poll(). This will check for queued aif's so that a subsequent ioctl call to retrieve the next aif will not block. 2. Don't catch signals when sleeping on a fib sent from userland. This causes a race and panic due to the pthread context switcher waking up the tsleep at inopportune times. 3. Fix some whitespace nits. MFC after: 3 days Revision Changes Path 1.30 +169 -26 src/sys/dev/aac/aac.c 1.8 +3 -3 src/sys/dev/aac/aac_debug.c 1.17 +2 -2 src/sys/dev/aac/aac_disk.c 1.8 +1 -1 src/sys/dev/aac/aac_ioctl.h 1.15 +5 -1 src/sys/dev/aac/aac_pci.c 1.3 +3 -2 src/sys/dev/aac/aac_tables.h 1.9 +23 -2 src/sys/dev/aac/aacreg.h 1.10 +17 -10 src/sys/dev/aac/aacvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message