aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahb
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-03-01 17:09:09 +0000
committerMark Murray <markm@FreeBSD.org>2001-03-01 17:09:09 +0000
commited34d0ade2848f88c70b745d77380c5069ebdfd6 (patch)
treefadc7b6cd2c258b196b444eb1c16b198554d73b8 /sys/dev/ahb
parent7bf8fc01e983ebc7e114645470a880d0abaa911f (diff)
downloadsrc-ed34d0ade2848f88c70b745d77380c5069ebdfd6.tar.gz
src-ed34d0ade2848f88c70b745d77380c5069ebdfd6.zip
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.
Notes
Notes: svn path=/head/; revision=73280
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r--sys/dev/ahb/ahb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c
index bbd6fd0aff03..dcb7f90ee6ab 100644
--- a/sys/dev/ahb/ahb.c
+++ b/sys/dev/ahb/ahb.c
@@ -367,7 +367,7 @@ ahbattach(device_t dev)
goto error_exit;
/* Enable our interrupt */
- bus_setup_intr(dev, irq, INTR_TYPE_CAM, ahbintr, ahb, &ih);
+ bus_setup_intr(dev, irq, INTR_TYPE_CAM|INTR_ENTROPY, ahbintr, ahb, &ih);
return (0);
error_exit: