summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-03-01 17:09:09 +0000
committermarkm <markm@FreeBSD.org>2001-03-01 17:09:09 +0000
commit36b9aabb472f862e3e5719891d140e7c7ce6c69f (patch)
tree3cdbc14d8bfea52310bf35ca4377f9292f0d8657 /sys/dev/mly
parent10e65c206e151ea487810e10f4c04c8d94dc79d0 (diff)
downloadFreeBSD-src-36b9aabb472f862e3e5719891d140e7c7ce6c69f.zip
FreeBSD-src-36b9aabb472f862e3e5719891d140e7c7ce6c69f.tar.gz
Turn on interrupt-entropy harvesting for all/any mass storage devices
I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly_pci.c b/sys/dev/mly/mly_pci.c
index e890a69..b1760ca 100644
--- a/sys/dev/mly/mly_pci.c
+++ b/sys/dev/mly/mly_pci.c
@@ -186,7 +186,7 @@ mly_pci_attach(device_t dev)
mly_printf(sc, "can't allocate interrupt\n");
goto fail;
}
- if (bus_setup_intr(sc->mly_dev, sc->mly_irq, INTR_TYPE_CAM, mly_pci_intr, sc, &sc->mly_intr)) {
+ if (bus_setup_intr(sc->mly_dev, sc->mly_irq, INTR_TYPE_CAM | INTR_ENTROPY, mly_pci_intr, sc, &sc->mly_intr)) {
mly_printf(sc, "can't set up interrupt\n");
goto fail;
}
OpenPOWER on IntegriCloud