Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 1995 14:41:30 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, kato@eclogite.eps.nagoya-u.ac.jp
Subject:   Re: outb in random.c
Message-ID:  <199512230341.OAA05736@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The function add_timer_randomness() in sys/i386/isa/random.c contains:

>    outb(TIMER_LATCH|TIMER_SEL0, TIMER_MODE); /* latch the count ASAP */

>This is outb(data, port).   I think this should be

>    outb(TIMER_MODE, TIMER_LATCH|TIMER_SEL0); /* latch the count ASAP */

This is now fixed.  Thanks for the bug report.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512230341.OAA05736>