ad
d5a6fc237b
Deal with the strange SCC wiring on TC IOASIC machines. Thanks to Bill
...
Studenmund and Jonathan Stone for useful comments.
2002-09-24 13:23:31 +00:00
lukem
a4bae8b066
add/cleanup RCSID
2001-11-13 13:14:31 +00:00
thorpej
7711ad565b
bcopy -> memcpy
2001-07-07 15:53:13 +00:00
thorpej
c2c26e1362
bcmp -> memcmp
2001-07-07 05:35:39 +00:00
wdk
98f7903dd8
Don't reprogram SCC registers unless the values have changed.
...
Some CMOS Z85C30 SCC's (as used in the SGI Indy and Mips Magnum 3000's)
reset the baud rate generator when a new prescaler is loaded - despite
what is documented in the datasheet.
Avoids "character glitch" problems when line discipline characteristics
are changed at the start of the login process, or during a ftp session
on the /dev/console device.
Tested on -sgimips, -mipsco and -alpha platforms
2001-06-25 08:30:11 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
mycroft
f6dba67570
Read up to 32 bytes. The ESCC *needs* 8, and it doesn't hurt to leave some
...
slop in case there are clone chips with a deeper FIFO.
1998-03-22 02:36:02 +00:00
wrstuden
6dcfc62169
KNF last change
1998-03-05 22:56:18 +00:00
wrstuden
84c6b9dbd7
Make zs_iflush not loop indefinitly. Some Mac PowerBooks lie about having
...
two SCC channels, and can get stuck in an infinite loop. This change
stops after flushing 4 bytes. Might need upping to 8 bytes if we support
85230 ESCC's.
Idea bounced off of scottr & gwr
1998-03-05 22:03:34 +00:00
mycroft
6ad2876b5a
Similar changes to com driver:
...
Arrange to call com_break() and com_modem() at splserial().
It's simpler this way. Really.
1998-02-19 21:26:10 +00:00
gwr
4371d4ef78
Remove the while loop from zsc_intr_hard(). It caused problems on
...
some machines, and those that really want to can just call this
function in a loop until it returns zero.
1997-10-04 22:30:30 +00:00
gwr
494730c376
New version of the z8530 driver that should permit the mac68k port
...
to use this instead of its own. Also fix warnings, etc.
1996-12-17 20:42:40 +00:00
gwr
eedc5c7e85
Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
...
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.
1996-05-17 19:30:34 +00:00
gwr
32d12d3be4
Make the ring size configurable in the tty driver.
...
Make the pseudo-interrupt functions return void.
Call the tty layer at spltty (to be safe).
1996-04-10 21:44:35 +00:00
gwr
f2e57c6dc8
Eliminate remaining direct references to the z8530 chip
...
to allow the MD access functions to do delays, etc.
1996-01-30 22:34:52 +00:00
gwr
ca633a9f35
Reorganized, machine-independent z8530 driver, based on the sparc/sun3 zs.
...
Uses autoconfig to attach keyboard, mouse, or tty. (See z8530.doc)
1996-01-24 01:07:21 +00:00