summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2001-09-06 08:57:51 +0000
committerscottl <scottl@FreeBSD.org>2001-09-06 08:57:51 +0000
commitc8d35d00a76cb624245d28ba3f951eeae94d6ea6 (patch)
treeeab8a4f602929ad014d0e20bde1852695b72eb5a /sys/dev/aac/aac_pci.c
parenta4f76035a182c4772137a3606c3b836387102169 (diff)
downloadFreeBSD-src-c8d35d00a76cb624245d28ba3f951eeae94d6ea6.zip
FreeBSD-src-c8d35d00a76cb624245d28ba3f951eeae94d6ea6.tar.gz
Don't use a silly test to define INTR_ENTROPY.
Submitted by: peter
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r--sys/dev/aac/aac_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 5150735..1115a12 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -196,7 +196,7 @@ aac_pci_attach(device_t dev)
device_printf(sc->aac_dev, "can't allocate interrupt\n");
goto out;
}
-#if __FreeBSD_version < 500005
+#ifndef INTR_ENTROPY
#define INTR_ENTROPY 0
#endif
if (bus_setup_intr(sc->aac_dev, sc->aac_irq, INTR_TYPE_BIO|INTR_ENTROPY,
OpenPOWER on IntegriCloud