diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-02-09 05:29:05 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-02-09 05:29:05 +0000 |
| commit | f893fdd54ec240f8f67d40395d9fcea4ecd82bc8 (patch) | |
| tree | 8005c236774dda079a8f82e68a0205a5247ab0af | |
| parent | ef7efb4ab00b527d5def1ee3ac7e9e18294a6d52 (diff) | |
Notes
| -rw-r--r-- | sys/dev/aac/aac_pci.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 0d693640a009..06473e7b1d55 100644 --- a/sys/dev/aac/aac_pci.c +++ b/sys/dev/aac/aac_pci.c @@ -226,8 +226,14 @@ aac_pci_attach(device_t dev) if (bus_setup_intr(sc->aac_dev, sc->aac_irq, INTR_FAST|INTR_TYPE_BIO, aac_intr, sc, &sc->aac_intr)) { - device_printf(sc->aac_dev, "can't set up interrupt\n"); - goto out; + device_printf(sc->aac_dev, "can't set up FAST interrupt\n"); + if (bus_setup_intr(sc->aac_dev, sc->aac_irq, + INTR_MPSAFE|INTR_TYPE_BIO, aac_intr, + sc, &sc->aac_intr)) { + device_printf(sc->aac_dev, + "can't set up MPSAFE interrupt\n"); + goto out; + } } /* assume failure is 'out of memory' */ |
