mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 09:21:31 -05:00
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 <i386/i386/cons.h>. This header is supposed to be included from <machine> although it should be completely machine-independent and included from <sys>. 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. |
||
|---|---|---|
| .. | ||
| ic | ||
| atrtc.c | ||
| fd.c | ||
| fdc.h | ||
| fdreg.h | ||
| joy.c | ||
| kbdtables.h | ||
| rtc.h | ||
| sio.c | ||
| sioreg.h | ||
| syscons.c | ||
| syscons.h | ||
| timerreg.h | ||