diff options
author | markm <markm@FreeBSD.org> | 2001-03-01 17:09:09 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-03-01 17:09:09 +0000 |
commit | 36b9aabb472f862e3e5719891d140e7c7ce6c69f (patch) | |
tree | 3cdbc14d8bfea52310bf35ca4377f9292f0d8657 /sys/dev/aic | |
parent | 10e65c206e151ea487810e10f4c04c8d94dc79d0 (diff) | |
download | FreeBSD-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/aic')
-rw-r--r-- | sys/dev/aic/aic_cbus.c | 4 | ||||
-rw-r--r-- | sys/dev/aic/aic_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/aic/aic_pccard.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/aic/aic_cbus.c b/sys/dev/aic/aic_cbus.c index 6dac2b3..ac36830 100644 --- a/sys/dev/aic/aic_cbus.c +++ b/sys/dev/aic/aic_cbus.c @@ -231,8 +231,8 @@ aic_isa_attach(device_t dev) return (error); } - error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM, aic_intr, - aic, &sc->sc_ih); + error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM|INTR_ENTROPY, + aic_intr, aic, &sc->sc_ih); if (error) { device_printf(dev, "failed to register interrupt handler\n"); aic_isa_release_resources(dev); diff --git a/sys/dev/aic/aic_isa.c b/sys/dev/aic/aic_isa.c index b1eea59..b89edc2 100644 --- a/sys/dev/aic/aic_isa.c +++ b/sys/dev/aic/aic_isa.c @@ -177,8 +177,8 @@ aic_isa_attach(device_t dev) return (error); } - error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM, aic_intr, - aic, &sc->sc_ih); + error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM|INTR_ENTROPY, + aic_intr, aic, &sc->sc_ih); if (error) { device_printf(dev, "failed to register interrupt handler\n"); aic_isa_release_resources(dev); diff --git a/sys/dev/aic/aic_pccard.c b/sys/dev/aic/aic_pccard.c index fd4ca9e..f96d962 100644 --- a/sys/dev/aic/aic_pccard.c +++ b/sys/dev/aic/aic_pccard.c @@ -161,8 +161,8 @@ aic_pccard_attach(device_t dev) return (error); } - error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM, aic_intr, - aic, &sc->sc_ih); + error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM|INTR_ENTROPY, + aic_intr, aic, &sc->sc_ih); if (error) { device_printf(dev, "failed to register interrupt handler\n"); aic_pccard_release_resources(dev); |