diff options
author | peter <peter@FreeBSD.org> | 2001-06-16 22:59:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-16 22:59:46 +0000 |
commit | caf4a686e5258035deb90edbdbed7fd0b8958bd4 (patch) | |
tree | e21ea45a28bacc8b26342f453d5ea29a7e27ec9f /sys/dev/sound/isa/mpu.c | |
parent | 38ecd59e07aead868125833230bcfd1b264ff134 (diff) | |
download | FreeBSD-src-caf4a686e5258035deb90edbdbed7fd0b8958bd4.zip FreeBSD-src-caf4a686e5258035deb90edbdbed7fd0b8958bd4.tar.gz |
Use INTR_TYPE_AV for the interrupt handlers because:
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.
Reviewed by: cg (in principle)
Diffstat (limited to 'sys/dev/sound/isa/mpu.c')
-rw-r--r-- | sys/dev/sound/isa/mpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/isa/mpu.c b/sys/dev/sound/isa/mpu.c index f66b921..a8cf490 100644 --- a/sys/dev/sound/isa/mpu.c +++ b/sys/dev/sound/isa/mpu.c @@ -385,7 +385,7 @@ mpu_attach(device_t dev) /* Now we can handle the interrupts. */ if (scp->irq != NULL) - bus_setup_intr(dev, scp->irq, INTR_TYPE_TTY, mpu_intr, scp, + bus_setup_intr(dev, scp->irq, INTR_TYPE_AV, mpu_intr, scp, &scp->ih); DEB(printf("mpu: attached.\n")); |