Commit Graph

11343 Commits

Author SHA1 Message Date
gwr
9ae1b69554 Rename "Idle" to "_Idle" so clock.c can reference it. 1997-04-25 18:48:39 +00:00
gwr
25d7b6b348 Provide a struct representing only the clock. 1997-04-25 18:47:41 +00:00
gwr
885a1fc439 Add /dev/leds support. 1997-04-25 18:46:10 +00:00
gwr
2dd63e3378 Use bus_mapin, and minor tweaks. 1997-04-25 18:45:39 +00:00
gwr
f7749f47fe Add "oclock" support for the Sun3/470. 1997-04-25 18:31:37 +00:00
gwr
8f9276c727 Move the _verify_hardware() work into machdep.c:identifycpu().
Call obio_init() after _vm_init() so we can use peek_byte() to
probe the idprom.  Be quiet in _save_symtab() when all is well.
1997-04-25 18:29:58 +00:00
gwr
b41693a034 Moved bus_scan() and bus_print() from here to bus_subr.c
because they are now different in sun3 vs sun3x.
1997-04-25 18:07:36 +00:00
gwr
477a320277 Moved bus_scan() and bus_print() here from autoconf.c
because they are now different in sun3 vs sun3x.
1997-04-25 18:02:47 +00:00
gwr
3619a4da3d Rename obio_alloc to obio_mapin, update *_init declarations.
Remove OBIO_P4_REG (not a fixed address, but per-device).
1997-04-25 18:00:49 +00:00
gwr
fd42058232 Add kernel function declarations. 1997-04-25 17:52:54 +00:00
gwr
23f821bcc5 Add idprom_init(). 1997-04-25 17:42:34 +00:00
gwr
963c410824 Change the OBIO address probe order a little, to allow determination of
which kind of idprom and clock we have (3/80 vs 3/470 differences).
Fix a bug where obio_submatch() failed to copy some locators.
Rename obio_alloc to obio_mapin.  Add lots of comments.
1997-04-25 15:35:27 +00:00
gwr
20ac88e4b1 Add /dev/leds support for the 3/470. 1997-04-25 15:15:45 +00:00
briggs
e861dbf8c7 A couple of performance improvements from Denny Gentry <denny1@home.com> 1997-04-25 03:40:09 +00:00
thorpej
1a3df57d81 Preprocess .s files before assembling them. 1997-04-25 02:26:48 +00:00
thorpej
ffd2acc819 Minimalistic changes to not make assumptions about how C labels
are handled.  This file's ".s" counterpart must now be pre-processed.
1997-04-25 02:26:04 +00:00
thorpej
dcca39c0f1 - Don't make assumptions about how C labels are handled.
- Use PANIC() where appropriate.
1997-04-25 02:22:00 +00:00
thorpej
d8b7a2f037 - Don't make assumptions about how C labels are handled, use macros
provided by <machine/asm.h> instead.
- Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 02:17:38 +00:00
thorpej
722ead42ca Don't make assumptions about how C labels are handled, use macros
provided by <machine/asm.h> instead.
1997-04-25 02:16:38 +00:00
thorpej
48fa8154e7 Adjust for <m68k/m68k/trap_subr.s> 1997-04-25 01:49:05 +00:00
thorpej
82f0cd80c8 Sync with hp300. 1997-04-25 01:46:53 +00:00
thorpej
6649814b0e Machine-dependent crash dump header - just pulls in <m68k/kcore.h> 1997-04-25 01:45:31 +00:00
thorpej
6df98d905a Sync with hp300:
- Clean up cpu_startup()
- Convert to new crash dump format.
1997-04-25 01:44:09 +00:00
thorpej
1b1a15a81f Adjust for <m86k/m68k/trap_subr.s> 1997-04-25 01:42:51 +00:00
thorpej
6a00a9aa75 Adjust for <m68k/m68k/trap_subr.s> 1997-04-25 01:35:45 +00:00
thorpej
deb6fcac46 Add several common trap vector stubs. Not all of them are here (yet),
but several are.
1997-04-25 01:33:18 +00:00
cgd
f5bfcda4fe comment out text after #endif. "Pasto!" pointed out by Kevin Sullivan
in PR 3529.
1997-04-24 23:58:24 +00:00
thorpej
658ce85446 Add several useful macros:
- ENTRY_NOPROFILE() and ASENTRY_NOPROFILE(), similar to ENTRY() and
  ASENTRY(), but without the profiling prologue.
- GLOBAL()/ASGLOBAL() and LOCAL()/ASLOCAL(), for defining global and
  local variables with C and ASM labels.
- BSS()/ASBSS(), for defining items in the BSS segment, with C or
  ASM labels.
- PANIC("panic message") - shorthand for calling panic() from assembly code.
- VECTOR(), ASVECTOR(), VECTOR_UNUSED - shorthand for defining entries
  in the vector table.
Also, change RCSID() to pad out the string to even boundary.
1997-04-24 22:49:39 +00:00
gwr
021d7c2fe5 s/REGENTS/FOUNDATION/ 1997-04-24 22:37:11 +00:00
mycroft
bba8a4e9b1 GC. 1997-04-24 20:45:53 +00:00
mycroft
0b3a169a66 This is no longer needed. 1997-04-24 20:45:10 +00:00
thorpej
5fddec888d Add Domain keyboard support source files (oops, forgot to commit this
file when I integrated the rest of it!).  Fixes PR #3523, from
Thorsten Frueauf <frueauf@ira.uka.de>.
1997-04-24 20:39:26 +00:00
scottr
72111ae284 From Mycroft: If we fail to allocate a cluster to hold a large packet,
simply drop it rather than using a chain of tiny mbufs.
1997-04-24 16:52:05 +00:00
veego
3b947046b9 remove a duplicated : for the install rule. 1997-04-24 08:22:45 +00:00
is
412fee4faf - Minor brushup of man page.
- Try to fix manual installation.
1997-04-24 08:02:29 +00:00
mycroft
d1c236b1e4 Tweak to improve performance slightly on very small packets and headers.
Suggested by Jonathan Stone.
1997-04-24 05:46:20 +00:00
cgd
1b16a9577a note eb64+/AlphaPC 64 support 1997-04-23 20:52:45 +00:00
scottr
c1c244e0a3 Implement new crash dump format. Mostly taken from hp300, extended to
support multiple physical RAM segments by me.  Garbage collect functions
obsoleted by this change.
1997-04-23 19:15:16 +00:00
briggs
ed74d8f653 On video devices, if we're loading non-default resource values, save the
resource ID.  Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.
1997-04-23 13:37:43 +00:00
scottr
9784a8d3cf space vs. tab formatting, KNF 1997-04-22 21:00:04 +00:00
scottr
b09a74e8b9 If we can't map SONIC register space, just print a diagnostic message and
continue.  Make formatting consistent and KNF while here.
1997-04-22 20:56:15 +00:00
scottr
a653364eb1 Remove obsolete drsw diagnostic; make formatting consistent; KNF. 1997-04-22 20:32:08 +00:00
scottr
65673e5ec2 Make formatting consistent; inline -> __inline__; KNF. 1997-04-22 20:26:24 +00:00
scottr
2111f73a90 Remove obsolete drsw diagnostic 1997-04-22 20:21:59 +00:00
scottr
e733e600d3 #ifdef DIAGNOSTIC, print the NuBus type fields for unrecognized boards. 1997-04-22 20:20:32 +00:00
briggs
d13ebf0e72 Make sure that we unmap the space that we mapped if we can't identify the card. 1997-04-22 13:45:38 +00:00
mrg
00e4b647d9 add NetBSD RCSid. 1997-04-22 07:48:31 +00:00
briggs
d2a4acec48 Initialize 'offset' to make gcc happy. 1997-04-22 03:04:33 +00:00
ragge
749ec2a297 Remove #define LEDEBUG. 1997-04-21 22:04:23 +00:00
mycroft
58fbadc150 Put back missing label. 1997-04-21 18:20:14 +00:00