From 36b9aabb472f862e3e5719891d140e7c7ce6c69f Mon Sep 17 00:00:00 2001 From: markm Date: Thu, 1 Mar 2001 17:09:09 +0000 Subject: 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. --- sys/dev/wds/wd7000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/wds') diff --git a/sys/dev/wds/wd7000.c b/sys/dev/wds/wd7000.c index 537642e..0040ef6 100644 --- a/sys/dev/wds/wd7000.c +++ b/sys/dev/wds/wd7000.c @@ -539,7 +539,7 @@ wds_attach(device_t dev) /*count*/ 0, RF_ACTIVE); if (wp->intr_r == NULL) goto bad; - error = bus_setup_intr(dev, wp->intr_r, INTR_TYPE_CAM, + error = bus_setup_intr(dev, wp->intr_r, INTR_TYPE_CAM | INTR_ENTROPY, (driver_intr_t *)wds_intr, (void *)wp, &wp->intr_cookie); if (error) -- cgit v1.1