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/nsp/nsp_pccard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/nsp') diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index afc3be2..3bc2428 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -218,7 +218,7 @@ nsp_pccard_attach(DEVPORT_PDEVICE dev) return(error); } - error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_CAM, + error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_CAM | INTR_ENTROPY, nsp_pccard_intr, (void *)sc, &sc->nsp_intrhand); if (error) { nsp_release_resource(dev); -- cgit v1.1