summaryrefslogtreecommitdiffstats
path: root/sys/dev/sab
Commit message (Collapse)AuthorAgeFilesLines
* Setup a default tty mode even if the device is not the console. Don'tjake2002-11-181-10/+4
| | | | | | | reset the chip on open if we're not the console. This fixes running a getty on ttya or ttyb if console input and output devices are screen.
* Remove some unnecessary code. Make the device description nicer. Add ajake2002-11-181-66/+31
| | | | delay in the right place to flush output before switching consoles.
* - Add support for ALT_BREAK_TO_DEBUGGER; this is the only reliable way tojake2002-11-171-21/+103
| | | | | | | | trigger a breakpoint with this chip. - Fiddle the right bits in the cn input and output routines to disable port interrupts and enable visibility of the masked interrupt status bits. - Register a shutdown final event handler to put the chip back in the mode that the prom expects.
* Make this driver work a whole lot better.jake2002-09-081-141/+169
| | | | | | | | | | | | | - 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.
* Ported to FreeBSD.jake2002-08-041-582/+487
|
* Add Jason L. Wright's driver for the SAB82532 serial chip, found in manyjake2002-08-042-0/+1684
sun ultras. Obtained from: OpenBSD
OpenPOWER on IntegriCloud