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/mlx/mlx.c | |
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/mlx/mlx.c')
-rw-r--r-- | sys/dev/mlx/mlx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c index 2a952eb..291618a 100644 --- a/sys/dev/mlx/mlx.c +++ b/sys/dev/mlx/mlx.c @@ -366,7 +366,7 @@ mlx_attach(struct mlx_softc *sc) mlx_free(sc); return(ENXIO); } - error = bus_setup_intr(sc->mlx_dev, sc->mlx_irq, INTR_TYPE_BIO, mlx_intr, sc, &sc->mlx_intr); + error = bus_setup_intr(sc->mlx_dev, sc->mlx_irq, INTR_TYPE_BIO | INTR_ENTROPY, mlx_intr, sc, &sc->mlx_intr); if (error) { device_printf(sc->mlx_dev, "can't set up interrupt\n"); mlx_free(sc); |