From owner-freebsd-commit Sun Oct 22 08:38:23 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA11521 for freebsd-commit-outgoing; Sun, 22 Oct 1995 08:38:23 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA11507 for cvs-all-outgoing; Sun, 22 Oct 1995 08:38:19 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA11497 for cvs-sys-outgoing; Sun, 22 Oct 1995 08:38:16 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA11485 ; Sun, 22 Oct 1995 08:38:10 -0700 Date: Sun, 22 Oct 1995 08:38:10 -0700 From: Bruce Evans Message-Id: <199510221538.IAA11485@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa sio.c cy.c Sender: owner-commit@FreeBSD.org Precedence: bulk bde 95/10/22 08:38:09 Modified: sys/i386/isa sio.c cy.c Log: sio.c: Fix the tests for being a console by reverting to the ones that were used before the the RB_SERIAL changes. RB_SERIAL only needs to be tested in one place. The initialization of comconsole was wrong before the RB_SERIAL changes for the COMCONSOLE case. This may have been the cause of the unnecessary changes. Start eliminating #includes of . This header is supposed to be included from although it should be completely machine-independent and included from . Remove a wrong XXX comment. `comconsole' is used to test for being a console and even the tests for deciding the default termios state are necessary (the semi-reentrant i/o routines don't handle ordinary device i/o). cy.c: Sync with sio.c. The console tests are present but always fail.