summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-09-08 04:45:16 +0000
committerjake <jake@FreeBSD.org>2002-09-08 04:45:16 +0000
commitc964ec41e1d4ab34606dc105b07e9561a5da2ada (patch)
tree0c46605aa8df958c3f5f7fbabfa9f6c426b95126 /sbin/camcontrol
parentd849ac74036b118ad23d53807d0e9d3cf5a26102 (diff)
downloadFreeBSD-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 'sbin/camcontrol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud