diff options
author | gibbs <gibbs@FreeBSD.org> | 2001-03-17 00:12:15 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2001-03-17 00:12:15 +0000 |
commit | 29db911e9bf846311e7bd55cd9a4565563dd6692 (patch) | |
tree | 788463399bfc2bfc0b0f33189e46c7bb9aa100fd /sys/dev/aac/aac_debug.c | |
parent | e9585fec02b87ff5034626ead2ae4fc59730dcf3 (diff) | |
download | FreeBSD-src-29db911e9bf846311e7bd55cd9a4565563dd6692.zip FreeBSD-src-29db911e9bf846311e7bd55cd9a4565563dd6692.tar.gz |
This is an MFC candidate.
Add the AAC_DEBUG option to enable debugging in the aac driver.
Correct a race condition in the interrupt handler where the
controller may queue a fib to a response queue after the driver
has serviced the queue but before the interrupt is cleared.
This could leave a completed fib stranded in the response queue
unless another I/O completed and generated another interrupt.
Reviewed by: msmith
Diffstat (limited to 'sys/dev/aac/aac_debug.c')
-rw-r--r-- | sys/dev/aac/aac_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/aac/aac_debug.c b/sys/dev/aac/aac_debug.c index 3298502..d4b7cb9 100644 --- a/sys/dev/aac/aac_debug.c +++ b/sys/dev/aac/aac_debug.c @@ -47,6 +47,7 @@ #include <dev/aac/aac_ioctl.h> #include <dev/aac/aacvar.h> +#ifdef AAC_DEBUG void aac_printstate0(void); void aac_intr0(void); @@ -434,3 +435,4 @@ aac_print_aif(struct aac_softc *sc, struct aac_aif_command *aif) break; } } +#endif |