Commit Graph

20 Commits

Author SHA1 Message Date
thorpej deb00c27b3 Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.

Clean up namespace, remove several instances of global arrays.  Instead,
use a softc to carry state around.  Where possible, pass a pointer to
the softc rather than a unit number.

Pointers to hardware and software constructs are now stored per port
in each instance of the softc (one softc per board) rather than indexed
by minor number.
1995-12-02 18:18:50 +00:00
thorpej 442aff9376 Say what I really meant in a printf()... 1995-10-04 08:39:14 +00:00
thorpej f060c456de Couple of changes:
* Implement TIOC{G,S}FLAGS; ttyflags works now.
	* Reset the card on a "fresh open" as a sanity measure.
	* Make dcmopen() and dcmclose() a little more like the
	  corresponding routines in the new dca.c
1995-10-04 06:39:06 +00:00
mycroft f1e8ea1dcc Kluge the *tty() routines until this port is converted to config.new. 1995-04-19 19:15:47 +00:00
mycroft 374185caff Most of the console functions return void. 1995-04-10 01:01:40 +00:00
cgd 132b41434c new RCS ID format. 1994-10-26 07:22:45 +00:00
mycroft c1e1831b84 Merge with 4.4-Lite. 1994-05-23 05:58:16 +00:00
mycroft 20f96b580e Add arg to ioctl functions. Clean up #includes. 1994-02-10 13:59:25 +00:00
mycroft 3738793f03 Remove outdated console handling code. 1994-02-06 01:08:36 +00:00
mycroft ea15b558a8 Use common version of cons.c. 1994-02-06 00:44:26 +00:00
mycroft 106118de0d Remove bogus declaration. 1994-01-30 18:30:45 +00:00
deraadt 9aed375ba3 tty XXstart() routines return void 1993-08-29 13:46:31 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft 3be4221095 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
deraadt 7afa674eb4 the "struct tty *cn_tty" field in cons.c wasn't being used by anything 1993-07-07 11:12:26 +00:00
cgd 5e4f134585 fix for t_raw, rather than t_rawq for the tsleeps... 1993-05-29 19:41:40 +00:00
deraadt 2032b7529e Changes to hp300 code to support two things:
1. dynamic tty allocation
2. use ring buffers instead of clists
Of course, I can't test it :-)
1993-05-27 09:35:10 +00:00
cgd fe1802950b add include of select.h if necessary for protos, or delete if extraneous 1993-05-22 11:40:42 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
cgd 6dedb5151c add hp300 kernel files. generic kernel files might need some help... 1993-05-13 13:56:20 +00:00