From owner-freebsd-current Fri Dec 22 19:46:23 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA04010 for current-outgoing; Fri, 22 Dec 1995 19:46:23 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA03991 for ; Fri, 22 Dec 1995 19:46:15 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id OAA05736; Sat, 23 Dec 1995 14:41:30 +1100 Date: Sat, 23 Dec 1995 14:41:30 +1100 From: Bruce Evans Message-Id: <199512230341.OAA05736@godzilla.zeta.org.au> To: current@freebsd.org, kato@eclogite.eps.nagoya-u.ac.jp Subject: Re: outb in random.c Sender: owner-current@freebsd.org Precedence: bulk >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