diff options
author | jake <jake@FreeBSD.org> | 2002-09-08 04:45:16 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-09-08 04:45:16 +0000 |
commit | c964ec41e1d4ab34606dc105b07e9561a5da2ada (patch) | |
tree | 0c46605aa8df958c3f5f7fbabfa9f6c426b95126 /lib/libedit/refresh.c | |
parent | d849ac74036b118ad23d53807d0e9d3cf5a26102 (diff) | |
download | FreeBSD-src-c964ec41e1d4ab34606dc105b07e9561a5da2ada.zip FreeBSD-src-c964ec41e1d4ab34606dc105b07e9561a5da2ada.tar.gz |
Make this driver work a whole lot better.
- Get the initial mode from the prom settings and don't clobber the mode
on open.
- Copy output into an internal ring buffer instead of accessing the tty
outq directly in the interrupt handler. This fixes a problem where
garbage would show up in the output stream.
- Reset the console port completely and reprogram all the parameters
before enabling it. This fixes seemingly random hangs on startup
when using a fast interrupt handler.
- Add minimal locking in place of spls.
- Remove dead code and minor cleanups.
Diffstat (limited to 'lib/libedit/refresh.c')
0 files changed, 0 insertions, 0 deletions