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/ida | |
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/ida')
-rw-r--r-- | sys/dev/ida/ida_eisa.c | 2 | ||||
-rw-r--r-- | sys/dev/ida/ida_pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ida/ida_eisa.c b/sys/dev/ida/ida_eisa.c index 41d4096..291a334 100644 --- a/sys/dev/ida/ida_eisa.c +++ b/sys/dev/ida/ida_eisa.c @@ -319,7 +319,7 @@ ida_eisa_attach(device_t dev) return (ENOMEM); } - error = bus_setup_intr(dev, ida->irq, INTR_TYPE_BIO, + error = bus_setup_intr(dev, ida->irq, INTR_TYPE_BIO | INTR_ENTROPY, ida_intr, ida, &ida->ih); if (error) { device_printf(dev, "can't setup interrupt\n"); diff --git a/sys/dev/ida/ida_pci.c b/sys/dev/ida/ida_pci.c index cf1f2d5..fcebeb6 100644 --- a/sys/dev/ida/ida_pci.c +++ b/sys/dev/ida/ida_pci.c @@ -281,7 +281,7 @@ ida_pci_attach(device_t dev) ida_free(ida); return (ENOMEM); } - error = bus_setup_intr(dev, ida->irq, INTR_TYPE_BIO, + error = bus_setup_intr(dev, ida->irq, INTR_TYPE_BIO | INTR_ENTROPY, ida_intr, ida, &ida->ih); if (error) { device_printf(dev, "can't setup interrupt\n"); |