diff options
author | markm <markm@FreeBSD.org> | 2001-03-03 14:53:50 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-03-03 14:53:50 +0000 |
commit | 6dffdff8ea47f7efa167b3505ecccc9704cf725e (patch) | |
tree | 0afee0c7b88a220108fbff5e7b9726ea86c29026 /sys/dev/fdc/fdc.c | |
parent | 70d224b1063596323e256ecd217efbeed6da1f6e (diff) | |
download | FreeBSD-src-6dffdff8ea47f7efa167b3505ecccc9704cf725e.zip FreeBSD-src-6dffdff8ea47f7efa167b3505ecccc9704cf725e.tar.gz |
Harvest interrupt entropy off the floppy disk controller.
Diffstat (limited to 'sys/dev/fdc/fdc.c')
-rw-r--r-- | sys/dev/fdc/fdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 4fee4f5..04bffb0 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -846,7 +846,8 @@ fdc_attach(device_t dev) return error; } error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq, - INTR_TYPE_BIO, fdc_intr, fdc, &fdc->fdc_intr); + INTR_TYPE_BIO | INTR_ENTROPY, fdc_intr, fdc, + &fdc->fdc_intr); if (error) { device_printf(dev, "cannot setup interrupt\n"); return error; |