aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/zs
Commit message (Collapse)AuthorAgeFilesLines
* MacIO frontend for the zs driver.Benno Rice2003-02-011-0/+296
| | | | | | | | Many thanks to jake for doing the initial driver and for helping me in making this work. Notes: svn path=/head/; revision=110181
* Set the termios speed based on the tty speed. This allows consoles to work atBenno Rice2003-01-291-1/+1
| | | | | | | | | speeds other than TTYDEF_SPEED. Approved by: jake Notes: svn path=/head/; revision=110021
* Allow defaulting the console to ttya when it sets to screen and keyboardJake Burkholder2003-01-261-5/+8
| | | | | | | in the prom but no keyboard is plugged in. Notes: svn path=/head/; revision=109844
* Reset the channel in attach if its not the console.Jake Burkholder2003-01-111-0/+7
| | | | Notes: svn path=/head/; revision=109091
* Split this into bus specific front end(s), so that it can be used by ppc.Jake Burkholder2003-01-084-279/+398
| | | | | | | | | | | | This abstracts out all the differences I could see between the netbsd sparc64 and macppc zs drivers. In particular the offsets of the csr and data registers are different, so we use a separate bus handle for each and use bus_space_subregion to add the bus specific offsets. Requested by: benno Notes: svn path=/head/; revision=108971
* Use bus_space_subregion to add offsets to bus handles instead of doingJake Burkholder2003-01-081-2/+4
| | | | | | | it manually. Notes: svn path=/head/; revision=108918
* - This damnable chip only has 1 status register for both ports, so the bitJake Burkholder2003-01-021-9/+37
| | | | | | | | | | | | | | positions for the status bits of port a and port b are different. To avoid needing to know which channel the interrupt handler is working on, shift the status bits for port a into the port b bit positions, and always check the port b status bits. This fixes using port b, which I neglected to test before. - Remember to update the channel's tty structure from the passed in termios in the param routine. - Minor style. Notes: svn path=/head/; revision=108557
* Add a driver for the Zilog 8530 dual uart found in Ultra 1s and Ultra 2s.Jake Burkholder2003-01-012-0/+1629
With a 1 byte transmit fifo, 3 byte receive fifo, and wierd multiplexed I/O designed for a Z80 cpu, this chip redefines suckage. Based on the openbsd and netbsd drivers. Only really works as a console, modem support is not complete since I can't test it. Notes: svn path=/head/; revision=108535