diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-05-13 16:02:18 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-05-13 16:02:18 +0000 |
| commit | d7f2f66e086b7d694a019077221b494b064db494 (patch) | |
| tree | d461f9ea889baf90a058921f22be5f8e09737102 | |
| parent | a1acdbf00871beb48eccaca50eae8554189efbd1 (diff) | |
Notes
| -rw-r--r-- | sys/dev/aac/aac_pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 364d8339f2aa..3fd02bf68977 100644 --- a/sys/dev/aac/aac_pci.c +++ b/sys/dev/aac/aac_pci.c @@ -224,16 +224,13 @@ aac_pci_attach(device_t dev) device_printf(sc->aac_dev, "can't allocate interrupt\n"); goto out; } -#ifndef INTR_ENTROPY -#define INTR_ENTROPY 0 -#endif 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 FAST interrupt\n"); if (bus_setup_intr(sc->aac_dev, sc->aac_irq, - INTR_MPSAFE|INTR_TYPE_BIO, aac_intr, - sc, &sc->aac_intr)) { + INTR_MPSAFE|INTR_ENTROPY, INTR_TYPE_BIO, + aac_intr, sc, &sc->aac_intr)) { device_printf(sc->aac_dev, "can't set up MPSAFE interrupt\n"); goto out; |
