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 /sys/kern/subr_witness.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 'sys/kern/subr_witness.c')
-rw-r--r-- | sys/kern/subr_witness.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index b29265a..43198c0 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -211,6 +211,7 @@ static struct witness_order_list_entry order_lists[] = { #ifdef __i386__ { "cy", &lock_class_mtx_spin }, #endif + { "sabtty", &lock_class_mtx_spin }, { "ng_node", &lock_class_mtx_spin }, { "ng_worklist", &lock_class_mtx_spin }, { "ithread table lock", &lock_class_mtx_spin }, |