From owner-cvs-all Fri Jan 10 17:59:23 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0B0B37B401; Fri, 10 Jan 2003 17:59:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A99943F43; Fri, 10 Jan 2003 17:59:21 -0800 (PST) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0B1xLfh086352; Fri, 10 Jan 2003 17:59:21 -0800 (PST) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0B1xLnH086351; Fri, 10 Jan 2003 17:59:21 -0800 (PST) Message-Id: <200301110159.h0B1xLnH086351@repoman.freebsd.org> From: Scott Long Date: Fri, 10 Jan 2003 17:59:21 -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 aacreg.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 2003/01/10 17:59:21 PST Modified files: sys/dev/aac aac.c aac_debug.c aac_disk.c aacreg.h Log: Major bugfixes for large memory and fast systems. aac.c: Re-arrange the interrupt handler to optimize the common case of the adapter interrupting us because one or more commands are complete, and do a read across the pci bus to ensure that all posted status writes are flushed. This should close a race that could cause command completion interrupts to be lost. Follow the spec a bit closer when filling out command structures. Enable the Fast Response feature to eliminate the need for the card to DMA successfull command completions back into host memory. Tell the controller how much physical memory we have. Without this there was a chance that our DMA regions would collide with the memory window used by the cache on the controller. The result would be massive data corruption. This seemed to mainly affect systems with >2GB of memory. Fix a few whitespace problems. aac_debug.c: Add an extra diagnostic when printing out commands. aac_disk.c: Add extra sanity checks. aacreg.h: Prepare for making this 64-bit clean by reducing the use of enumeration types in structures. Many thanks to Justin Gibbs for helping track these down. Revision Changes Path 1.46 +50 -39 src/sys/dev/aac/aac.c 1.12 +5 -0 src/sys/dev/aac/aac_debug.c 1.25 +7 -2 src/sys/dev/aac/aac_disk.c 1.15 +28 -26 src/sys/dev/aac/aacreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message