Commit Graph

8411 Commits

Author SHA1 Message Date
pk a4e214aef0 If we're the console, say so in attach message. 1995-08-29 22:26:37 +00:00
pk a159e45699 Support for sun4 (from Jason Thorpe). 1995-08-29 22:20:01 +00:00
pk 15c28bc39a Sun4s must set baud rate on the mouse port (from Jason Thorpe). 1995-08-29 22:15:35 +00:00
pk f9777fe9ef Export `eeprom_va' (from Jason Thorpe). 1995-08-29 22:13:19 +00:00
pk 6f1f25d6ed Export `eeprom_va' so drivers can peek at the configuration (from Jason Thorpe). 1995-08-29 22:11:58 +00:00
phil f2d39a40d1 Changes for new INSTALL generic kernel and compressed kernel boot. 1995-08-29 21:55:39 +00:00
leo 33a26fbd65 Remove FPU detection and report on stdout instead of stderr. 1995-08-29 20:35:15 +00:00
leo 8f5551f5fd Fix rule for manual page. 1995-08-29 20:26:39 +00:00
pk 4bdcdaa4e3 define reserved bits in cfg2 & cfg3 registers correctly. 1995-08-29 20:05:22 +00:00
pk 7e13adf019 Check for absent boot device where it matters. 1995-08-29 19:59:49 +00:00
pk bd12f97e97 Avoid NULL dereference 1995-08-29 19:53:59 +00:00
jonathan 1e95db0970 Commit a copy of pmax/asic.h from my development source tree, since
the pmax lance driver that uses the machine-independent am7990.c driver
needs some definitions for it.  This is a partial re-merge of NetBSD/alpha's
tc/asic.h back to the pmax, with the addition of symbolic #define's
for registers and bits in registers that are pmax model-specific.
1995-08-29 11:52:00 +00:00
jonathan 9557f68db3 Change pmax (asc and sii) SCSI drivers to use "needs-flag", as the
drivers have  been fixed to not require "needs-count".

Add back the lines for the "rcons" console driver, even though it's
not merged into the pmax port yet, as conf.h was patched to include
"rcons.h".  Adding the device here, but not configuring it (e.g., in
GENERIC) keeps conf.c happy until rcons code is merged.
1995-08-29 10:12:48 +00:00
jonathan 5124d90b3b Work around a NetBSd/pmax kernel bug inherited from 4.4BSD: the DEC
TURBOChannel cfb has a vertical-retrace interupt that cannot be disabled
in software. 4.4BSD and NetBSD don't supply an interrupt hander and
simply neverenable interrupts from slots with a cfb.  This has never
ever worked with a cfb in a 3MIN (Decstation 5000/1xx), where a TURBOChannel
card in slot 0 (or 1 or 2) interrupts at the same IPL as spl0() (or spl1
or spl2), and there's also never been support for selectively enabling or
disabling those interrupts on a 3MIN, in either NetBSD or 4.4BSD.

This  revision add an interrupt handler for the cfb, used only on 3MINs,
so that a 3MIN can boot with a cfb as console, and enable/disable of TC
slot interrupts can be debugged. (Serial consoles via ioasic SCCs still
don't quite work,  and simply clearing the relevant bits in the R3000 cause
register is apparently over-ridden by a subsequent spl0() somewhere else.)
1995-08-29 09:56:23 +00:00
jonathan 2ddcaa8ac9 Fix references to ASIC_SLOT_RTC, which isn't yet defined on DECstations. 1995-08-29 09:43:37 +00:00
leo bd699fca29 Fix typo in previous commit 1995-08-28 20:07:04 +00:00
jonathan bb16b9c249 External declarations for Decstation model-specific interrupt handers. 1995-08-28 20:01:34 +00:00
leo dd73a31ed8 Detect type and precence of an FPU in the kernel instead of relying on GEM. 1995-08-28 19:31:06 +00:00
fvdl cf13e627f4 Undo unintended parts of previous change. 1995-08-27 21:30:00 +00:00
fvdl a084a7d3dd Remove bogus check in ioctl(fd, VT_RELDISP, VT_FALSE). Needed for
Linux VT emul stuff. This fix was already applied in pcvt 3.30
1995-08-27 20:59:00 +00:00
fvdl 9ca2821d22 A couple of definitions added for previous changes. 1995-08-27 20:57:18 +00:00
fvdl 040bcc367d Add some yucky code to emulate Linux VTs well enough to make svgalib
stuff work reasonably well.
1995-08-27 20:56:38 +00:00
fvdl a7459f5321 syscalls.master changed 1995-08-27 20:53:31 +00:00
fvdl d308963c5d Add a hook for MD ioctl calls, plus a couple of more changes to make
svgalib binaries work on the i386
1995-08-27 20:51:48 +00:00
pk 70c3710dfd minor tweaks from Matthew Green (PR#1410) 1995-08-27 18:58:48 +00:00
phil 6a179f1f2e VOID minphys. 1995-08-27 04:07:53 +00:00
briggs 503d3c4927 Add constants for CSI's communications card. 1995-08-25 21:20:57 +00:00
phil 389484fe28 New kernels from Matthias Pfaller and addition of oldncr driver. 1995-08-25 07:58:21 +00:00
phil 441cd76f8f Changes by Matthias Pfaller for generic support and dumping. 1995-08-25 07:52:18 +00:00
phil 0a3111b255 Various changes (from Matthias Pfaller) including support for a
more generic distribution kernel and dumps.
1995-08-25 07:49:04 +00:00
phil 47ff5d6b3d More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.
1995-08-25 07:30:33 +00:00
briggs ac0af4229f Change VIA2:vPCR setting to allow scsi IRQ and DRQ. 1995-08-25 02:56:41 +00:00
jonathan 60e0c381c1 Fix autoconfig table initializers for 3MIN (tested) and MAXINE (untested). 1995-08-24 22:32:18 +00:00
ghudson bbfb3349c0 Call doshutdownhooks() before resetting the CPU. This should probably
be in architecture-independent code.
1995-08-24 19:16:47 +00:00
chopps f73f65da20 couple fixes from Eduardo E. Horvath eeh@btr.com 1995-08-24 15:46:19 +00:00
briggs 1ed5c0babc Some code to support a vector passed in from booter 1.8. 1995-08-24 04:27:16 +00:00
briggs 0484bdaf59 Don't panic on NMI and only take notice if DDB. 1995-08-24 04:25:07 +00:00
fvdl 72e901b9ff syscalls.master changed 1995-08-23 20:19:15 +00:00
fvdl 28d9d64235 Emulate some syscalls that appear in Linux 1.3: a select() with normal args,
getdents() and flock().
1995-08-23 20:17:28 +00:00
thorpej d6160bdc1b Fix typo in comment, from Chris P. Ross. 1995-08-23 01:08:10 +00:00
thorpej 5194080841 Put SIOCGETVIFCNT and SIOCGETSGCNT in group `u'. This is consistent with
other systems' integration of Multicast release 3.5 and fixes the ENXIO
that these controls used to produce.
1995-08-23 00:40:47 +00:00
jtc 0da9212559 recommanded -> recommended; PR #1395 1995-08-22 19:43:06 +00:00
jtc 356b42ba70 inclide -> include; PR #1400 1995-08-22 19:39:23 +00:00
ragge 90a621b682 Fixed USRPTSIZE trouble. Cleaned up. 1995-08-22 04:34:17 +00:00
jonathan 8522bd48f3 Move the pmax scc driver from sys/arch/pmax/dev to sys/arch/pmax/tc,
as it's a driver for a device under a TC IOASIC.   The Alpha port also
has its scc driver in tc/scc.c, and the pmax driver scc is nearly the same
as the Alpha.
1995-08-22 04:28:41 +00:00
ragge 4ff0530b57 Changed way to calculate USRPTSIZE. 1995-08-22 04:28:20 +00:00
fvdl 7cd62a508c Check for status NULL argument in wait4 and waitpid. From PR #1392
by Thomas EberHardt.
1995-08-21 23:15:51 +00:00
jonathan 7560ab9b68 Rework the pmax scc driver, which hadn't changed much from the 4.4bsd
pmax driver, to be diffable with the NetBSD Alpha driver. Specifically,
the pmax driver now uses register names dev/ic/z8530.h. The driver now
uses new-style config and dynamically-allocated softc structures.  The
driver no longer resets the "other" channel on an SCC when changing tty
parameters. The #ifdef'ing away of processing of the output clist for
non-console lines is no longer done.  (Non-console serial ttys might even
work now.) Other discrepancies between the pmax and alpha drivers, which I
don't understand yet, are marked by XXXes.

The 4.4bsd pmax console redirection code is still present, protected
by #ifdef TK_NOTYET. Diffs from the Alpha scc driver are now minimal.

Verified to boot on a Decstation 5k/240.
1995-08-21 21:42:10 +00:00
gwr acbfd7b67d Fix vectored interrupts, and do autovectored ones similarly. 1995-08-21 21:37:36 +00:00
gwr 35a5b206df If a swap entry is being used as root, do not swap there. 1995-08-21 21:36:25 +00:00