wrstuden
2adccc50fa
Add pps support. Only enable pps if CLOCAL & !MDMBUF.
1999-03-27 01:21:36 +00:00
pk
a1aa41e201
consinit: cover all cases.
1999-03-05 08:30:33 +00:00
pk
e2909faa19
Sanatize consinit() a bit.
1999-03-02 13:40:05 +00:00
pk
372e76a3bb
Since V2 & V3 proms already pass us ihandles for stdin and stdout,
...
there's no need to open the device a second time. It suffices to
just convert the `ihandles' to `phandles'.
1999-02-22 17:15:30 +00:00
pk
8d45c4eb84
Use promlib version correctly.
1999-02-16 07:22:17 +00:00
pk
8edcd03969
Use the PROMLIB interface.
1999-02-14 12:44:31 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
chs
8cacea4ea0
fix a timing problem with polled output on sun4c's.
1998-04-23 04:06:17 +00:00
mycroft
d4da63c6c3
Eliminate cs_heldchar. It is not necessary in my version of the driver.
1998-03-30 02:41:21 +00:00
pk
b782c3448c
obio_bus_probe() => bus_space_probe()
1998-03-29 22:10:32 +00:00
pk
c99d62cc8a
Account for changed bus attachment scheme.
1998-03-21 20:23:38 +00:00
mrg
c71457ab4a
KNF, and use splzs over splhigh in one place.
1998-01-21 05:54:39 +00:00
thorpej
1adb4489a6
Update for changes to config.
1998-01-12 20:23:38 +00:00
pk
ff4f5f4528
If necessary, defer console output until TX interrupt handler runs.
1997-11-12 22:18:54 +00:00
mycroft
9e82e84056
Handle CDTRCTS, for silly Mac-like connector on some models (e.g. IPX).
1997-11-03 11:33:17 +00:00
mycroft
ec5fd4954e
Set rr0_dcd.
...
Don't set DCD_IE and CTS_IE here; let the MI code do it.
Handle MDMBUF.
1997-11-02 08:05:06 +00:00
gwr
9053a6f401
Correct the values of zs_unit in consinit(),
...
so ddb will work on the keyboard/display.
1997-10-22 14:39:38 +00:00
gwr
0308bf1ac6
Use common zs code.
1997-10-17 23:59:44 +00:00
pk
84877e89f6
Allow a BREAK to cause a kgdb_connect().
1997-08-31 21:26:37 +00:00
fair
4c351f243e
%x -> 0x%x
1997-07-29 09:58:04 +00:00
pk
2357b53997
Avoid race for the chip's interrupt pending status bits in zscnputc()
...
by introducing a single-character queue to defer kernel console output
until the transmitter interrupt handler runs.
1997-04-14 21:26:28 +00:00
mrg
bb07095632
as per discussion with torek, allow TC=1. also add option
...
to allow TC=0. the zilog documentation says not to allow
TC=0 -- however, i tested this and it "does work", as far
as i could tell, so, allow this use if so desired.
1997-04-09 13:15:13 +00:00
pk
841d1ec634
Comply with recent autoconfiguration changes. Diffs graciously
...
supplied by Chris Demetriou.
1996-12-10 22:54:46 +00:00
christos
8d9699acda
backout previous kprintf change
1996-10-13 02:59:55 +00:00
christos
19d8368f2f
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:44:42 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
pk
9a9cf8c3f5
Put back a `#if defined(SUN4M)' for now.
1996-05-30 00:57:35 +00:00
pk
f9f5f23ee3
We really need a ring buffer for every unit.
...
Eliminate extraneous ttyalloc() calls.
1996-05-29 21:45:28 +00:00
mrg
65d186d8e8
find a couple minor nits from previous change.
1996-05-29 01:58:09 +00:00
mrg
6ce8e31376
change zsinfo to a zs_softc, and impliment intr counts. mostly from OpenBSD.
1996-05-28 14:06:28 +00:00
christos
dc6ff48df6
Eliminated dependencies on dev_conf.h
1996-04-01 17:29:44 +00:00
pk
2f3ec93250
Various cleanup; mostly trailing spaces/tabs.
1996-03-31 22:38:29 +00:00
thorpej
3cd14f7597
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 02:00:30 +00:00
christos
03b701e393
Bring prototypes into scope and fix compiler warnings.
1996-03-14 19:44:30 +00:00
pk
a3ab0e81da
Use CPU-type macros.
1996-02-25 22:03:20 +00:00
pk
ee08e9085b
Extend the size of the "soft" FIFOs which reportedly reduces the number
...
of FIFO overflows on high baud rates.
However, doing so on all 4 ports would cost a whopping 64KB (at 4096 entries
per FIFO) of kernel memory. So, the FIFOs are now allocated at attach time
allowing the size for the keyboard and mouse ports to be reduced (to 128)
which should be adequate for the 1200 baud they use.
1995-11-29 23:41:31 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
pk
47ce042b76
Small optimisation & 1 fewer depedency on zs_ctty.
1995-06-26 21:45:31 +00:00
pk
45eb69b276
Use ZS_DELAY() in a few more places (from Gordon Ross, cf. sun3/dev/zs.c).
1995-06-26 21:32:51 +00:00
pk
87beda7b2a
Implement zstty().
1995-04-21 15:51:26 +00:00
mycroft
e41d4f5e96
Undo accidental change.
1995-04-11 02:42:23 +00:00
mycroft
0c3bca646e
Move CHAN_[AB] into here, and prefix with ZS_.
1995-04-11 02:38:16 +00:00
mycroft
2753eeb55e
zsreg.h --> z8530.h
1995-04-11 02:30:53 +00:00
pk
c897fc5127
Better 4/100 support.
1995-03-01 21:09:19 +00:00
pk
f6cd1eeea7
Integrate changes from Chuck Cranor for the Sun 4/100.
...
Support for multiple register banks on SBUS devices (based on patches
from Francis Dupont).
Highlights:
romaux defines an array of register spaces.
pay attention to `vactype'.
quirks handling 4/100 idiosyncracies.
1995-02-01 12:37:21 +00:00
pk
b846c1f9cd
TIOC[SC]DTR ioctls.
1995-01-29 18:56:01 +00:00
deraadt
2717a8de7e
TIOC[SG]FLAGS from matthew green
1994-12-06 00:01:39 +00:00
deraadt
41260b47ce
i hate ttyX-ignore-cd, but leave it here for a while longer
1994-11-26 07:36:52 +00:00