From owner-freebsd-bugs Sat Jul 1 14:10:03 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA02101 for bugs-outgoing; Sat, 1 Jul 1995 14:10:03 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA02093 ; Sat, 1 Jul 1995 14:10:01 -0700 Date: Sat, 1 Jul 1995 14:10:01 -0700 Message-Id: <199507012110.OAA02093@freefall.cdrom.com> From: cstruble@vt.edu Reply-To: cstruble@vt.edu To: freebsd-bugs Subject: kern/576: FreeBSD makes BIOS ignore serial ports (with fix) In-Reply-To: Your message of Sat, 1 Jul 1995 17:04:56 -0400 <199507012104.RAA00365@quirk.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 576 >Category: kern >Synopsis: BIOS doesn't recognize serial ports after FreeBSD use. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 1 14:10:01 1995 >Originator: Craig Struble >Organization: Quirk Computing >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: P60 Clone, with 16550A UARTS, Award BIOS 4.50 >Description: After FreeBSD uses the serial ports, the BIOS no longer recognizes them. >How-To-Repeat: Use FreeBSD with a XFree86 and a serial mouse. The serial port the mouse is connected to is no longer recognized. >Fix: In sio.c, comhardclose() from 2.0.5-RELEASE apply the following patch *** sio.c.orig Tue May 30 04:03:06 1995 --- sio.c Sat Jul 1 16:29:44 1995 *************** *** 985,990 **** --- 985,995 ---- if (!(com->state & CS_DTR_OFF) && !(unit == comconsole && (COMCONSOLE || boothowto & RB_SERIAL))) kdc_sio[unit].kdc_state = DC_IDLE; + /* + * Turn off fifos, make the BIOS happy + */ + outb(iobase + com_fifo, 0); + splx(s); } >Audit-Trail: >Unformatted: