5446 Commits

Author SHA1 Message Date
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
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
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
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
jonathan
97cf65df4a Change pmax ASC driver to use dynamically-allocated softc structures.
Concomitant changes to code that prints driver/unit name: use dv_xname
and dv_unit, instead of doing pointer arithmetic on elements of the static
softc array.

Remove support for old config.  The old-config "driver" structure
is still present, because the pmax non-MI SCSI driver needs it.

Merge some off Per Fogelstrom's changes for the Pica driver,
which uses the machine-independent SCSI code. This is #ifdef'ed
out until the DMA is fixed to work on Decstations, too.
1995-08-21 21:22:43 +00:00
ragge
ce63fbf5f1 Bug fix in byte_swap_word(); didn't always make it. 1995-08-21 16:36:32 +00:00
mycroft
e11b690b80 Require drives 2 and 3 to be explicitly configured. 1995-08-21 06:56:14 +00:00
ragge
e7749341ad Added PG_URKW: World readable, kernel writable. 1995-08-21 03:28:50 +00:00
ragge
172fd72aab Bug fix: Must have user readability of kernel text on Microvax
even when using DDB.
1995-08-21 03:27:05 +00:00
ragge
ed3c38b4cd Added gencntty(); 1995-08-21 03:24:46 +00:00
leo
9c9abeb6c3 Add Falcon video support. Thanks to Thomas Gerner. 1995-08-20 18:17:09 +00:00
chopps
1e4fbda19c fix protos (#1390) from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-20 15:22:46 +00:00
chopps
d2ca213101 small cleanup 1995-08-20 15:13:19 +00:00
chopps
b720d4fd09 rename RZ3_64BIT_SPRITE to RH_64BIT_SPRITE 1995-08-20 15:09:25 +00:00
chopps
148e463417 change state (and rename) RH 64BIT option. Add ccd to COFFEE 1995-08-20 15:08:19 +00:00
leo
34e65502e7 - make sure that there is 1 pending software interrupt max.
- read status before character, so the status won't be lost (Thomas Gerner)
- accumulate as much interrupts as possible in zshard()
1995-08-20 13:28:10 +00:00
chopps
391bbae93c make defaults more accessable. 1995-08-20 03:07:25 +00:00
chopps
5e60f02d97 fix grf_rh problem with sprite and allow mode changing.
from mw@eunet.ch (Markus Wild)
1995-08-20 02:54:34 +00:00
chopps
c24824f7d7 fix bogus length check (#1299) 1995-08-20 02:52:48 +00:00
chopps
461d235743 add more grful stuff 1995-08-19 23:57:19 +00:00
leo
6b9a15416a - Add 'restbyte' handling for TT.
- Don't _ever_ do DMA for less than 512 bytes on the Falcon
- Fix bug in autosense-handling. Now asks for the correct number of bytes.
  Now it won't read ghost bytes on the tape anymore.
- Add missing braces as suggested by Matthias Pfaller
- Make it possible to debug requests on a specified number of targets
- Add debug option to show only transaction with error code != 0
1995-08-19 12:36:21 +00:00
pk
a3bb091c9e Do bootpath matching. 1995-08-18 22:03:59 +00:00
pk
f5252faa3b Include exec header in length computation. 1995-08-18 21:44:01 +00:00