Commit Graph

8130 Commits

Author SHA1 Message Date
thorpej
fb56ae3095 Kill extra declaration of bcea[]. It's also defined in globals.c. 1995-08-04 01:17:26 +00:00
mycroft
f0b7d011a4 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:14:55 +00:00
jonathan
d55e0dddac Restructure configure(): move turbochannel-device configuration
into a separate function for readability.  Rework interrupt initialization,
so interrupts are never enabled until configuration has found and
attached all devices.  Call spl0() just before probing the scsi bus,
as the DECstation scsi code can't poll, and hangs if interrupts
are disabled.

Add preliminary support for new config, protected by #ifdef NEWCONF/#endif.

Cosmetic changes to swapconf() and setroot() to reduce distance
from Alpha versions of same.
1995-08-04 01:14:17 +00:00
mycroft
68735fd022 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:09:57 +00:00
jonathan
43f316f423 Declarations for new-config autoconfigure, based on NetBSD/Alpha. 1995-08-04 00:34:15 +00:00
jonathan
1bacfdc2dd Add preliminary support for new-style configuration: struct cfdriver,
and match and attach code.  Still use the static softc so that drivers
work with kernels configured with either new or old config.
1995-08-04 00:26:35 +00:00
jonathan
d7bb0a516f Add header files with prototyped declarations of the serial-chip hooks
used by old-style pmax console configuration.
1995-08-04 00:22:02 +00:00
jonathan
f7b8418b54 Add a prototype for (tc_enable_interrupt)(). 1995-08-04 00:16:01 +00:00
cgd
9c8d63d05b oops; trim some bogus 1994's from copyrights 1995-08-03 01:23:08 +00:00
cgd
60d53ca3d9 oops; trim some bogus 1994's from copyrights 1995-08-03 01:12:15 +00:00
cgd
bedee1822d simplify various configuration code by setting function pointers and
calling the functions they point to.  do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00
cgd
cde26bf293 kill MD #ifdefs, pull primary bus name from global 1995-08-03 01:01:26 +00:00
cgd
44b967e45f kill alpha_mb(); it's now inlined. make copy functions' frame sizes
more easily adjustable.
1995-08-03 01:00:11 +00:00
cgd
196db616cf kill bogus comments, unnecessary functions 1995-08-03 00:58:33 +00:00
cgd
d55a404ae1 cpu-specific functions which could be split out of various parts of
machdep.c.  There probably is a better way to this this code up, but
i picked this one for simplicity, for now...
1995-08-03 00:57:05 +00:00
cgd
f300c21d2e entries for wsc, com 1995-08-03 00:55:27 +00:00
cgd
49ee71b3c5 MB -> wbflush 1995-08-03 00:54:28 +00:00
cgd
0b0dea1a70 resettodr returns void 1995-08-03 00:53:34 +00:00
cgd
207c4ddca2 MB -> wbflush 1995-08-03 00:52:29 +00:00
cgd
8aa6759ac6 console printf twiddling warning not really necessary now 1995-08-03 00:52:24 +00:00
cgd
ffb2012cee MB -> wbflush 1995-08-03 00:52:00 +00:00
cgd
67e0ffcf73 bump NKMEMCLUSTERS up to 4M (increase of 4x) 1995-08-03 00:51:00 +00:00
cgd
d0fd75a461 pc keyboard driver, largely snarfed from i386. should be MI, but
until the i386 is capable of using a 'split' version, no point.
1995-08-03 00:48:25 +00:00
cgd
0e899183c9 MB -> wbflush 1995-08-03 00:46:52 +00:00
cgd
c296ddcd85 move some of the most important configuration code into a seperate
function, so that it can be called from early bus config code.
1995-08-03 00:44:57 +00:00
cgd
99dd0b8fc8 i/o mapping, kill some trash, map cacheable mem in dense PCI mem space 1995-08-03 00:42:25 +00:00
cgd
14388e344a Brooktree bt485 register definitions. should be MI, but didn't want
to shove my names down others' throats (yet).
1995-08-03 00:40:49 +00:00
cgd
132ad46ef5 "Workstation Console" glue code. Badly "needs chainsawed."
Should be better integrated into autoconfig.  Also, interface should
be designed rather than cobbled together...  Nasty, but it Works.
needs things like ability to pass ioctl()s down to components, ability
to mmap() things, etc.
1995-08-03 00:39:58 +00:00
cgd
9a0323c873 PCI VGA support. should be MI, but not yet 1995-08-03 00:35:55 +00:00
cgd
5413c73bec support for DEC 21030 (TGA) boards -- at this time, only the ZLXp-E1 works 1995-08-03 00:34:25 +00:00
cgd
beeaf64fd6 i/o map function dispatch, console picker function 1995-08-03 00:33:58 +00:00
cgd
721de847a4 need i/o map function pointer 1995-08-03 00:33:29 +00:00
cgd
e6c1386416 update for all the latest bells and whistles 1995-08-03 00:09:17 +00:00
cgd
d5cccabaa3 update to match my reality 1995-08-03 00:07:49 +00:00
cgd
d6eba5b92f rename MB to wbflush, make it inline 1995-08-03 00:03:09 +00:00
cgd
32b4385a97 fix bug pointed out by, and do the cleanup suggested by
Alasdair Baird <alasdair@wildcat.demon.co.uk>.  From pr 1301.
1995-08-02 22:01:46 +00:00
jonathan
be23617ea0 Commit ghastly change that supports select on framebuffers, since
the pr on that hasn't been closed yet.

Fix broken initialization of swap_dev.
1995-08-02 19:36:45 +00:00
briggs
b0a1bd6e17 Use panic() instead of printf();Debugger(); 1995-08-02 11:53:02 +00:00
briggs
a76e2adfab Get rid of reference to Debugger(). 1995-08-02 11:50:43 +00:00
jonathan
c715dd10fe Only print diagnostic messages about interrupt enable when DIAGNOSTIC
is defined.
1995-08-02 07:19:37 +00:00
jonathan
4542ca9870 Commit old changes from my source tree in preparation for newconfig:
only print diagnostic messages about interrrupt enabling when DIAGNOSTIC
is defined.
Remove old buggy 4.4BSD turbochannel interrupt kludge for ioasic machines
inside "#if 0"/"#endif" as the NetBSD code has been  working fine for months.
1995-08-02 06:44:54 +00:00
briggs
f60a2bbccf Add kludge for LC video and change IIvx to assume 1MB of VRAM if we can't
figure out how much there really is.
1995-08-02 04:15:41 +00:00
jonathan
9b50b450f7 Add DS_3MAXPLUS (kn03) to switch statements for redirecting input
to and from SCC devices. (The 3MIN was supported but not the 3MAXPLUS).
1995-08-01 23:15:26 +00:00
pk
ced95e1824 update from Chuck 1995-08-01 21:06:55 +00:00
jonathan
6a99440efd Add prototypes for most functions. Fix typo where statements
intended to increment interrupt counters for vmstat -i (i.e., "ctr++")
on 3100s had just a single "+", and hence had no effect.
1995-08-01 06:58:57 +00:00
briggs
fc8739097d Fix signed/unsigned gaff in last.
Bring up-to-date with latest rash of changes to if_ed.c.
1995-07-30 21:39:17 +00:00
briggs
ff5fa674dd Fix the internal video probe again. 1995-07-30 21:35:00 +00:00
briggs
80cd97e743 delay(7) instead of delay(20) seems sufficient 1995-07-30 21:30:57 +00:00
briggs
cf76e90671 Differentiate printf for illegal instruction/fpu traps in kernel mode. 1995-07-30 19:18:28 +00:00
briggs
139f62c079 Add support for Farallon from Brian Gaeke (brg@dgate.org). 1995-07-30 13:38:04 +00:00