Commit Graph

57 Commits

Author SHA1 Message Date
wrstuden 2adccc50fa Add pps support. Only enable pps if CLOCAL & !MDMBUF. 1999-03-27 01:21:36 +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
gwr ba4cb4e29d Kill the printf: enabling zs interrupts 1998-06-08 20:34:43 +00:00
gwr eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
thorpej 1adb4489a6 Update for changes to config. 1998-01-12 20:23:38 +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 076ab3f536 Tweak the console support a little (more like the sparc version). 1997-10-06 21:04:21 +00:00
gwr 39bf0bf971 normalize include order 1997-10-05 20:59:02 +00:00
gwr 4756c63625 Call isr_soft_request() at most once per zshard interrupt.
In the softintr, raise to spltty before calling tty code.
1997-03-11 21:54:35 +00:00
gwr f55c7652b7 Export zs_get_chan_addr() for zs_kgdb.c
Print the "console on ..." in cninit(), and
avoid reference to kbd/kd drivers if NKBD==0
1997-02-10 23:29:52 +00:00
gwr d9267b93fd Forgot to initialize cs->cs_rr0_dcd and fiends in attach. 1997-01-31 00:07:06 +00:00
gwr 090dfd13c2 Now that interrupts are enabled AFTER autoconfiguration, put in the
cute little trick where the zs interrupts are enabled as soon as the
zs driver has done its attachments.   That allows a console break to
enter the debugger during the rest of autoconfiguration.
1997-01-18 19:49:01 +00:00
gwr 84bd1d6f2c Use the same names (OBIO_ZS_*) as the sun3x port... 1997-01-18 19:17:28 +00:00
gwr 1169ecb0a2 Adapt to the new definition of struct zsc_softc
(the zsc_cs[2] members are now POINTERS!)
Also fix warnings...
1996-12-17 20:46:11 +00:00
gwr 0332502588 Most files that were copyright Adam Glass and/or Gordon W. Ross
are now copyright The NetBSD Foundation (rights assigned).
1996-11-20 18:56:49 +00:00
christos a087bfeb5c backout previous kprintf change 1996-10-13 03:47:25 +00:00
christos 19d8368f2f printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:44:42 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
gwr 3274834c18 Use the PROM->input_source setting instead of EEPROM to determine
where the console is, because that is correct if, for example, you
boot with the diag/norm switch set for diagnostics and the EEPROM
is set for keyboard/display.
1996-06-17 15:17:06 +00:00
gwr 50ecbc1c84 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:32:06 +00:00
cgd 83f9bdc359 update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
gwr fa59facc05 New autoconfig design that controls attach order. 1996-03-26 15:15:46 +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
gwr bcfac202c8 No longer need delay2us(), just use delay(2) 1996-02-16 18:00:33 +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 f261ae08c7 Update for the new z8530 driver 1996-01-24 22:39:48 +00:00
gwr 09cbbafa0a Minor cleanup. 1995-10-08 23:42:58 +00:00
gwr c96c328a9d Use old-style function definitions (like the sparc driver). 1995-08-08 20:54:08 +00:00
gwr c4746effe0 Correct !DDB console abort (thanks to David Brownlee) 1995-07-03 02:52:13 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
gwr 3a59870c12 Leave modem control lines in correct state on interrupted open.
(From sparc/dev/zs.c)
1995-06-27 14:36:20 +00:00
gwr 64543c95b6 Fix several missing (and REQUIRED) calls to ZS_DELAY() 1995-06-13 22:11:33 +00:00
gwr ac1a62db29 Add xxtty() 1995-04-26 23:20:15 +00:00
mycroft 3b6535707e Use global 8530 defs. 1995-04-11 02:41:42 +00:00
gwr 507979e02b Increase ZSSOFT_PRI from 2 -> 3 now that tty ipl is 4. 1995-03-27 01:25:20 +00:00
gwr ee5c85f6a1 Synthesize KBD_L1|KBD_UP after return from zsabort.
Simplify PROM mapping stuff, use ee_console.
1995-03-10 02:15:03 +00:00
gwr 25590bff04 Oops, forgot to lock out interrupts while clearing zssoftpending. 1995-02-14 22:40:00 +00:00
gwr c148a69816 Cleanup 1995-01-11 20:38:23 +00:00
gwr f76865d16d Fixes for the 110, 160, 260 (leave chip in "vector" mode). 1994-12-21 23:56:43 +00:00
gwr fdca66b8d1 Fix kd (keyboard/display) driver kdcngetc/kdcnputc functions. 1994-12-17 20:14:22 +00:00
gwr 9b62fc5394 Set params in attach so BREAK works before first real open. 1994-12-15 04:34:06 +00:00
gwr 10e46730cf Support TIOCGFLAGS, TIOCSFLAGS (from Matthew Green via Theo). 1994-12-13 18:35:56 +00:00
gwr bfae9f3105 Have working bus_peek(), and drivers use it. 1994-12-13 18:26:39 +00:00
gwr fe52f9ae4f New autoconfig interface to support VME, etc. 1994-12-12 18:58:45 +00:00
gwr 2529298878 Export some headers that X will want, and minor clean-up. 1994-12-01 22:46:23 +00:00
gwr 59bf96aa56 Lots of changes. Fairly stable now. 1994-11-21 21:26:40 +00:00
cgd 20af809ca2 new RCS ID format. 1994-10-26 09:07:55 +00:00
gwr 51afe89406 Call obio_alloc with just two args (mappings always writable). 1994-09-20 16:21:44 +00:00
gwr 8db19b31db Make initial tty mode the same as the PROM uses
(so you can read the console messages).
1994-06-28 21:42:32 +00:00