Date: Sat, 1 Jul 1995 14:10:01 -0700 From: cstruble@vt.edu To: freebsd-bugs Subject: kern/576: FreeBSD makes BIOS ignore serial ports (with fix) Message-ID: <199507012110.OAA02093@freefall.cdrom.com> In-Reply-To: Your message of Sat, 1 Jul 1995 17:04:56 -0400 <199507012104.RAA00365@quirk.com>
index | next in thread | previous in thread | raw e-mail
>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:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507012110.OAA02093>
