Date: Fri, 10 Jan 2003 17:59:21 -0800 (PST) From: Scott Long <scottl@FreeBSD.org> 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 Message-ID: <200301110159.h0B1xLnH086351@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301110159.h0B1xLnH086351>