Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 1995 03:05:37 +0900
From:      KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To:        current@freebsd.org
Subject:   outb in random.c
Message-ID:  <199512201805.DAA00568@marble.eps.nagoya-u.ac.jp>

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 */


----
KATO Takenori
Dept. Earth Planet. Sci. Nagoya Univ.  Nagoya 464-01
Voice: +81-52-789-2529   E-mail: kato@eclogite.eps.nagoya-u.ac.jp



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