Date: Sat, 7 Sep 2002 21:45:16 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_witness.c src/sys/dev/sab sab.c Message-ID: <200209080445.g884jGXq045950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2002/09/07 21:45:16 PDT
Modified files:
sys/kern subr_witness.c
sys/dev/sab sab.c
Log:
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.
Revision Changes Path
1.3 +168 -140 src/sys/dev/sab/sab.c
1.124 +1 -0 src/sys/kern/subr_witness.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209080445.g884jGXq045950>
