Commit Graph

18922 Commits

Author SHA1 Message Date
gwr
c5ea521ed9 New "mainbus" driver allows control over autoconfig order. 1996-03-26 15:03:58 +00:00
gwr
c0a60cd87b New driver to handle the "interrupt register". 1996-03-26 15:03:11 +00:00
gwr
e4b4200e43 Take advantage of the new config attach stuff by
splitting out the obio and vme support code.
Also move it back to the traditional name (si).
1996-03-26 15:01:10 +00:00
gwr
3d58330322 No longer need rd_match_hook. 1996-03-26 14:58:47 +00:00
gwr
fa2d8c6e76 New driver for handling the memory error interrupt. 1996-03-26 14:57:43 +00:00
gwr
639d64d73b Allow the machine-dependent code to define a fast comparsion function
for ethernet addresses via the macro ETHER_CMP. (see sun3/dev/if_le.c)
Add a comment explaining the LANCE_REVC_BUG work-around section.
1996-03-26 14:54:56 +00:00
gwr
5ea3281a61 Adapt to redesigned autoconfig scheme for obio, and
define a fast ETHER_CMP routine for dev/ic/am7990.c
1996-03-26 14:42:18 +00:00
gwr
8eb8bb83b4 Take advantage of the new config attach stuff by
splitting out the obio and vme support code.
1996-03-26 14:38:29 +00:00
jonathan
2bd6015194 Fixup after the "New device attachment scheme": change {mainbus,tc,ioasic}cd
to {mainbus,tc,ioasic}_cd.

Change ioasic config name from "lance   " to "lance". Correct for
pmaxes, perhaps not for Alphas.

Boots and runs under load on a 5000/200. Hangs during boot on an ioasic
decstation; pmax  autoconfig needs fixing.

Add Decstation-3100 baseboard support (untested).
1996-03-26 13:44:07 +00:00
jonathan
449a7f5b59 Remove files moved to mips/mips; they are included in mips/conf/files.mips.
Add the pmax-specific portion of trap handler, pmax/pmax_trap.c, which
was split off from pmax/trap.c.
1996-03-26 12:21:39 +00:00
jonathan
bfa1f425bc Add mips/mips/mem.c and mips/mips/process_machdep.c 1996-03-26 11:45:59 +00:00
jonathan
467aeaf9f5 Remove src/sys/arch{pmax/pmax,pica/pica}cpu_exec.c; no significant differences,
or for which the Pica port is an older revision of the pmax branch.

A merged version with the NetBSD/pmax revision history is in mips/mips/.
	cpu_exec.c
	elf.c
	mem.c
	process_machdep.c
1996-03-26 11:43:41 +00:00
mrg
f01ac0c37f add rcsid and remove dated /var/preserve check. 1996-03-26 04:21:27 +00:00
jtc
0f6af23d21 Expand "u_int" to "unsigned int" so that curses.h can be used when
_XOPEN_SOURCE or _POSIX_SOURCE is defined.
1996-03-26 02:43:59 +00:00
jtc
45da58c78f Changed signal prototype to be more like ANSI C 1996-03-26 02:05:55 +00:00
pk
c299fd2d61 Bitfields are unsigned. 1996-03-26 01:28:50 +00:00
cgd
d4ea3a96dc accept any tar header which begins with "ustar" (i.e. those 5 characters) as
a ustar-format archive.  POSIX specifies that ustar-format archives have magic
strings consisting of "ustar<nul>", however our PAX accepts anything starting
with just the 5 "ustar" chars, and this and other version of GNU tar output
ustar archives with magic numbers of "ustar  <nul>".  Leave the output format
of this version of GNU tar the same, so that old versions of GNU tar can
use ustar files it outputs.  (diff sent to GNU tar maintainer.)
1996-03-26 00:48:49 +00:00
pk
a8564828ee Back to normal printf()s, now that gcc understands `%b'. 1996-03-26 00:35:25 +00:00
mrg
5e02eb808c add ssh (22) 1996-03-26 00:07:58 +00:00
mrg
8d14f53bd0 install stand tools. 1996-03-25 22:48:09 +00:00
pk
3d5031d609 PROM does not like %p's.. 1996-03-25 20:46:56 +00:00
perry
0e05503b1b added to support rd (ramdisk) pseudodevice needed for new install system. 1996-03-25 18:49:18 +00:00
perry
0c01ef4333 Add changes to support rd (ramdisk) pseudodevice, needed for new
install system.
1996-03-25 18:47:47 +00:00
perry
4a9fd2c5f4 Added support for rd (ramdisk) pseudodevice, needed for new install system. 1996-03-25 18:44:29 +00:00
pk
44af669e3d Appease gcc: unused variables if !QUOTA 1996-03-25 12:53:35 +00:00
pk
e471d816de Don't stomp on arbitrary directories.
(Perhaps there should be a `source /etc/daily.local' hook..)
1996-03-25 09:23:15 +00:00
mrg
f88f31de89 update all of these to reality (at least, for the sparc). changes
include:
    libg++, bind, less, zoneinfo, lots of headers, and a pc532 man page.
1996-03-25 07:35:59 +00:00
mycroft
8d60d04ffa Remove dead variables. 1996-03-25 07:11:12 +00:00
jonathan
97f32908b1 Split trap handler into mips-generic and port-specific functions:
* Delete pmax-specific functions and declarations from trap.c

* Delete mips-geeneric functions and declaratinos from pmax_trap.c

* Rename the function pointer used to handle hardware interrupts to
 "mips_hardware_intr".  Define it in trap.c. Change references elsewhere,
  including machdep.c.

Verified to boot on a 5000/200.
1996-03-25 06:44:17 +00:00
jonathan
458024d39d Random additions from the Pica r4k port:
* Add spl4() and spl5() functions from the Pica port.
* Add MachFPTrap() as an alternate entry point for MachFPInterrupt.
  The r4k reports floating-point execptions as a trap, not an interrupt,
  and the Pica port uses the name MachFPTrap().
* Add nops to the Mach_spl?() functions and MachFPInterrupt, as required
   for the r4k port.
Commit "floppy"  interrupt counter for vmstat -i.
1996-03-25 06:40:39 +00:00
jonathan
522f8705a1 Copy src/sys/arch/pmax/pmax/trap.c to pmax_trap.c.
trap.c will contain the port-independent mips trap-handling functions.
pmax_trap.h will contain the pmax-specific interrupt handlers.
1996-03-25 05:55:30 +00:00
perry
3a7ebace87 Add COMPAT_11 option. 1996-03-25 05:45:08 +00:00
briggs
b329936803 Fix for more pedantic -W options. 1996-03-25 03:27:51 +00:00
jonathan
e920e8f829 Force reporting of memory errors for the 3MAX (aka kn02 aka 5000/200) to
always be eight digits.
Copy the kn02 memory-interrupt reporting function to the kn03 (5k/240)
memory-error handler, since the 3MAXPLUS seems to use the same ECC hardware
as the 3MAX.
1996-03-25 03:18:15 +00:00
jonathan
36424c73cf Rename the original pmax/include/machAsmDefs.h file, with CVS history,
to mips/include/asm.h.

Until all references to <machine/machAsmDefs.h> in the pmax and
pica tree are changed  to use <mips/asm.h> directly, just do
#include <mips/asm.h>, for compatibility.
1996-03-25 02:55:18 +00:00
jonathan
3b5a818c4e Rename from pmax/include/machAsmDefs.h to mips/include/asm.h.
Update the include-idempotency preprocessor token to match.

References to machAsmDefs in vendor (sprite, 4.4bsd) headers left unchanged,
for historical accuracy.
1996-03-25 02:50:50 +00:00
mrg
65e7d88ab1 cast realloc() calls to shutup c++ warnings 1996-03-25 00:36:18 +00:00
mycroft
3ab38e9ad4 Display the right sync period for fast devices. 1996-03-25 00:18:09 +00:00
fvdl
fa29f1090f Return earlier on error in nfs_statfs. Should fix problem reported by
both mrg and cgd.
1996-03-24 23:58:10 +00:00
mycroft
dac7f9a885 Fix up a couple of printf()s. 1996-03-24 22:23:56 +00:00
mycroft
e2f1ed6ef2 Various, including:
* Display as much revision info as we can get.
* Fix a race condition that could cause interrupts to be lost.
* Handle `out of mailbox' conditions (much) more gracefully.
* Schedule timeouts more safely.
* Add diagnostic code to (correctly) detect if a CCB times out before its
outgoing mailbox is emptied.
1996-03-24 22:20:41 +00:00
jtk
d03349ad69 sync up with domestic fixes 1996-03-24 22:03:48 +00:00
jtk
c241e89a6f grr, I forgot to add the #include <machine/spkr.h> and /dev/speaker
lines at the synopsis section.
1996-03-24 21:18:34 +00:00
jtk
be40704188 fix synopsis to match new attachment config line. 1996-03-24 21:15:50 +00:00
briggs
2422f1bc4e Get rid of a compiler warning about Debugger(); 1996-03-24 16:58:46 +00:00
jonathan
29aa0d22ca Replace pica and pmax include/trap.h with versions that #include <mips/cpu.h>,
after merging the definition of T_USER in the pmax port, and moving
the result to mips/cpu.h.
1996-03-24 08:17:04 +00:00
jonathan
71b212b66a Change pmax T_USER bit (software only) to be 0x20, the same as the
Pica port. (The r4000 CPU used in the pica has more hardware execption types.)
1996-03-24 08:12:53 +00:00
jonathan
c5f3b155a3 Replace pica and pmax include/cpu.h with versions that #include <mips/cpu.h>,
and add port-specific and r3k vs. r4k definitions.
1996-03-24 07:54:42 +00:00
mycroft
caeb897758 Fix trivial oversight in last. 1996-03-24 07:36:11 +00:00
mhitch
e1d4601b24 Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
conversion function.
1996-03-24 04:12:27 +00:00