diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-04-28 15:45:00 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-04-28 15:45:00 +0000 |
commit | d2aaab80e37b4e76e5cd539983916e5d7dbaf773 (patch) | |
tree | e0d12c3bee51150c5e294631e23df47429d120d4 /sys/dev/pci/bktr | |
parent | 88c894b365edc9ba3d99f1dba14020c90bf81e72 (diff) |
replace add_*_randomness with enqueue_randomness()
this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.
ok mikeb@ deraadt@
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r-- | sys/dev/pci/bktr/bktr_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c index 40f3359e336..130f83448b9 100644 --- a/sys/dev/pci/bktr/bktr_core.c +++ b/sys/dev/pci/bktr/bktr_core.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_core.c,v 1.38 2016/03/14 23:08:06 krw Exp $ */ +/* $OpenBSD: bktr_core.c,v 1.39 2018/04/28 15:44:59 jasper Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */ /* @@ -608,7 +608,7 @@ common_bktr_intr( void *arg ) OUTB(bktr, BKTR_CAP_CTL, bktr->bktr_cap_ctl); - add_video_randomness(tdec_save); + enqueue_randomness(tdec_save); return 1; } @@ -622,7 +622,7 @@ common_bktr_intr( void *arg ) bktr_status, dstatus, INL(bktr, BKTR_RISC_COUNT) ); */ - add_video_randomness(INL(bktr, BKTR_RISC_COUNT)); + enqueue_randomness(INL(bktr, BKTR_RISC_COUNT)); /* * Disable future interrupts if a capture mode is not selected. |