Commit Graph

37 Commits

Author SHA1 Message Date
thorpej 82d914d090 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 01:26:49 +00:00
briggs d504670861 Fix for serial console handling from Bill Studenmund. 1996-03-06 23:22:41 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
briggs 46a202fc6a Fixes from PR #1931 w/ minor mod in vm_machdep.c 1996-01-12 04:16:25 +00:00
briggs 631612b677 Move splzs to spl4 from splhigh. Really same difference... 1996-01-11 15:23:01 +00:00
briggs 486bcce207 Remove printf() that I forgot about. 1995-12-13 14:30:29 +00:00
briggs 4b2a9a582d Update from Bill Studenmund <wrstuden@loki.stanford.edu> with some minor
cleanup from me.  Now supports serial console.
1995-12-13 03:09:57 +00:00
briggs f5fae9d016 Port of Sun3/Sparc zs driver from wrstuden@loki.stanford.edu
(Bill Studenmund).  Should be massaged into machine independence
for 1.2.
1995-10-09 12:42:16 +00:00
briggs 72d557cf87 The serial console works again (at least on the Q700). 1995-08-11 03:29:07 +00:00
briggs d192d70a87 Note that we've been initialized. 1995-08-11 03:02:04 +00:00
briggs 100380f075 Do the serial console a bit better (still has problems). 1995-08-11 03:00:15 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs 7542473d6d Clean up I/O base settings a bit. 1995-06-21 03:03:13 +00:00
briggs d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
briggs 90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
briggs 13efb6c197 First pass of KNFication. Needs more. 1995-04-21 02:47:35 +00:00
briggs a7f44caf1b Add a sertty() and update to use ser_softc instead of a bunch of arrays
everywhere.
1995-04-20 15:27:12 +00:00
briggs 09ba51f21e Fix typo from last changes. 1995-04-12 14:55:45 +00:00
mycroft 7114c30418 Use global 8530 defs. 1995-04-11 03:00:38 +00:00
briggs 7e4d7125a3 Back to previous version of the serial driver until we can figure out
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs 347304eb41 Many changes and updates from Dave Leonard (d@fnarg.net.au) and
Brad Parker (brad@fcr.com).  I've been sitting on these for a while.
Notes from Dave:
  redocumented z8530 stuff.
  Added break ioctls and detection.
  Pass framing/parity errors to line discipline.
  Added TIOC[SG]FLAG.
  Attempt at bringing all chip ops together.
  deepended s/w fifos to match chip's.
1995-02-11 19:06:57 +00:00
briggs 81828a6a38 Boolean goof. (True) 1994-11-29 03:38:48 +00:00
briggs 492011ffd7 Modify the serial port initialization slightly so it works on the IIsi. 1994-11-03 16:15:27 +00:00
cgd 4fdae7a0ae new RCS ID format. 1994-10-26 08:45:48 +00:00
briggs 93b8f0f095 Change strategy slightly so that serial console is enabled if internal
console is not--regardless of the value of the boot-time flag.
Suggested by a question from bit@gnu.ai.mit.edu (jim howard - bit.map).
1994-09-30 00:52:44 +00:00
briggs 49e7735666 Actually implement serial boot (console) echo (minor change to ite.c).
Remove some old junk in ser.c and implement serial console and serial
boot echo (if serial console's enabled, clear echo).
1994-09-29 03:33:13 +00:00
briggs 183f4c6128 Lots of cleanup. Add functions for serial console--just stubs for now.
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
briggs f954a7b0dd Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
the format string.
1994-07-21 03:32:07 +00:00
briggs db146ec64c Separate init from serattach and make more machine independent by
calculating speed during init (different models of macs feed SCC with
different clocks).
1994-07-21 00:52:47 +00:00
briggs f8d560f187 Be somewhat better at machine dependence. 1994-07-10 16:55:53 +00:00
briggs 6cd891192f Move a function here from the old console.c. 1994-07-09 06:38:55 +00:00
briggs f556898e64 Change some default constants--might be overridden during boot, but
correct for MacII-class.
1994-06-26 12:57:27 +00:00
briggs ecfa08e11e ioctl now takes struct proc *. 1994-02-10 04:30:27 +00:00
briggs eb7f152ad2 Fixup includes and prototype stuff. Still need to go back and put in
old-style function headers to be pedantic.
1994-01-30 01:10:33 +00:00
briggs dfe9897dba Update grf.h to increment a number of devices when it configures.
Fix a small bug in serial.
  Both from Brad, Lawrence, and/or Mike.
1994-01-10 23:52:01 +00:00
briggs e99f003a7d Update to current work in progress. This includes an update to
use config.new.
Numerous updates to console so it works better on the SE/30 screen.
Some nice changes from Brad Parker for handling NuBUS and an ethernet
driver that I haven't worked on, yet.
1993-11-29 00:32:22 +00:00
briggs 8ae7f8bceb The current MacBSD architecture sub-directory for NetBSD-0.9--more or
less.  It needs some help to get to be -current.  Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
1993-09-29 06:08:37 +00:00