Commit Graph

5608 Commits

Author SHA1 Message Date
leo eee0dbbda7 Allow chars > 0x7f to be displayed on the ite's 1995-09-04 19:39:21 +00:00
leo 75dfa4a054 Add memcpy entry as suggested by gwr. 1995-09-04 19:37:45 +00:00
chopps c392350cba sbic and board changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-09-04 13:04:40 +00:00
chopps 4be2a61f7f mmutype fix from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-09-04 12:56:47 +00:00
pk b04e172458 Rename a `xxx' function. 1995-09-04 09:53:53 +00:00
briggs 19a99aa395 Get softc as parameter in interrupt function, using new changes from
via.[ch]
1995-09-04 05:07:16 +00:00
briggs 129ca2cea9 Make VIA2 interrupts pass an argument in and let the scsi_register_*_intr
functions use that, too.
1995-09-04 05:05:58 +00:00
briggs 4f76655592 Fix a goof in the latest changes. 1995-09-04 05:05:11 +00:00
briggs 02883e7341 Remove an extra "talk" command--from Ken Nakata <kenn@remus.rutgers.edu> 1995-09-04 02:50:57 +00:00
pk 003751356c Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422). Also includes
bootpath glue (PR#1414) (this needs finishing off in disksubr.c).
1995-09-03 22:21:27 +00:00
pk 8bdbf4be70 Update from Jason: eeprom device needs 8-bit access. 1995-09-03 21:55:36 +00:00
pk af6e3d03cf Add data structures used to interface to the monitor-resident drivers. 1995-09-03 21:36:06 +00:00
briggs 86d6e121cd Add support for Extended Apple Mouse Protocol from
Ken Nakata <kenn@remus.rutgers.edu>.
1995-09-03 20:59:53 +00:00
briggs b394d7fc7d Enable ADB interrupts unconditionally if not using setup_egret(). 1995-09-03 20:47:21 +00:00
briggs de4100b643 Clean up a bit. 1995-09-03 14:54:31 +00:00
briggs 761b3a8340 Clean up some. 1995-09-03 14:51:38 +00:00
briggs 30c554fc9d Changes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
This forces the need for booter version 1.8.
1995-09-03 14:37:16 +00:00
briggs 745cb60f16 Note that this is now an obsolete driver. 1995-09-03 03:39:38 +00:00
briggs e9a9533544 Make the new m.i. scsi driver the default. 1995-09-03 03:37:32 +00:00
briggs 166af00381 Make a local copy of the atari m.i. scsi driver sources for the time
being.  Some people aren't supping arch/atari and this allows those
people to get the sources.
1995-09-03 03:36:35 +00:00
mycroft b8b9c4c9ff Make sure vt_coldinit() is always called before vt_coldmalloc().
Remove pcvt_kbd_raw.
1995-09-03 01:20:33 +00:00
thorpej fcdfdcb926 Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs. 1995-09-03 00:44:43 +00:00
thorpej 7c55f97d9b Really batting 1.000 today... 1995-09-03 00:07:21 +00:00
thorpej 231db77094 Fix thinko in netboot-related changes. 1995-09-02 23:36:09 +00:00
leo 4eb595b1d2 Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs. 1995-09-02 19:44:45 +00:00
briggs a7783604fd Optimize this some. Still seems slower than it ought to be.
Register interrupt functions with via.c.
Clean up somewhat.  Turn off DEBUG.
1995-09-02 19:29:42 +00:00
briggs 4ed102bbd4 Optimize accesses to VIA2 a bit.
Force SCSI driver to register interrupt functions and remove default
handlers.
Bring in a few changes from
Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>--more to come later.
Define VIA interrupt functions as returning void, not long.
1995-09-02 19:27:34 +00:00
briggs 42d7c233d5 Very minor cleanup. 1995-09-02 05:44:07 +00:00
briggs 9f203a792f Weren't quite ready for the last change. 1995-09-02 05:41:12 +00:00
briggs e60752e507 Rearrange a bit. 1995-09-02 05:35:59 +00:00
thorpej acdc651ece Add support for network booting; uses the following procedure:
rbootd->rarp->bootparam->nfs
Add "reset" option to disk and network boot prompts to reload boot code.
1995-09-02 05:04:14 +00:00
thorpej a23346b0d5 Grok booting from the network. 1995-09-02 04:54:06 +00:00
thorpej aa213636df Example configuration for a diskless hp300. 1995-09-02 04:39:51 +00:00
briggs bee422d998 DTRT. This should be considered the base version of the file. 1995-09-02 03:19:37 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
pk 9b3308eeec Enable writing of disklabels (Many thanks to Jason Thorpe, Gordon Ross
and Matthew Green).
1995-09-01 17:19:50 +00:00
briggs b6fb219037 Process via2/rbv interrupts from low bit to high bit. 1995-09-01 04:10:11 +00:00
briggs e46e8e7a57 A first pass at a scsi driver based on the Atari ncr5380{reg.h,.c} code. 1995-09-01 03:43:49 +00:00
ragge 2c7359091d Patches from Ken Wellsch/Ken Lalonde to support some Dilog MSCP cards
(DQ256 SMD card, SQ706A and SU726A SCSI card).
1995-08-31 22:24:39 +00:00
fvdl 10101d52ba Only define some vars (one of pcvt-specific type) when pcvt is configured.
Fixes PR #1424 (from Mike Long)
1995-08-31 09:33:10 +00:00
briggs d3930dd627 In child_return(), pass oticks of 0 to userret() instead of p->p_sticks to
avoid slighting the child of a timer tick if it gets one after starting.
Thanks go to cgd for noticing this.
1995-08-31 03:22:55 +00:00
phil f9399fadc7 add option CON_BRK_PANIC to be able to force a panic by 3 consecutive
breaks without any input on the console port.
1995-08-30 23:51:40 +00:00
fvdl 0324e91dae Remove VT-switch disabling hack now that pcvt handles this. 1995-08-30 00:32:51 +00:00
fvdl 9fc36ab1a4 * Don't scroll by setting the CRT start address when in graphics mode, and
make sure to use the right buffer (fixed in the same way as pcvt 3.30)
* Maintain keyboard state locally per VT. This makes sense, enables switches
  between VTs with different kbd states, and aids Linux VT emulation.
1995-08-30 00:29:09 +00:00
pk b1ae3d7339 Garbage collect. 1995-08-29 23:09:29 +00:00
pk 7a84d590e0 Add bwtwo@obio specs (from Jason Thorpe). 1995-08-29 22:50:36 +00:00
phil 022e1038fd Use pc532 specific in_cksum.c. 1995-08-29 22:48:02 +00:00
phil 3564c1fcc2 More changes to ncr driver to try to get it working. (From Matthias Pfaller) 1995-08-29 22:44:27 +00:00
phil d9c05825be Changes for gdb from Matthias Pfaller. 1995-08-29 22:37:41 +00:00
pk bc5b188714 Define bwtwo at obio & vme (from Jason Thorpe). 1995-08-29 22:28:07 +00:00
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
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
thorpej ba2d89fa98 Bring this up to speed. 1995-08-18 20:24:02 +00:00
chopps d821c2be28 resolve conflict with grf_rt over monitor_defs symbol 1995-08-18 16:46:57 +00:00
chopps 394b87b8f3 change for a2410 from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-08-18 16:21:33 +00:00
chopps fccf65d4c7 new a2410 driver from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-08-18 16:15:43 +00:00
thorpej 351c20ab5e Haven't had hpfplib for a long time. 1995-08-18 16:07:40 +00:00
chopps 08b52eaf6a add Ariadne driver 1995-08-18 16:00:53 +00:00
chopps 01e68b365a new Ariadne ether from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-18 15:58:30 +00:00
chopps a6af3de018 new Ariadne driver from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-18 15:56:56 +00:00
chopps 55b1c5d71b add rcs ids 1995-08-18 15:53:30 +00:00
chopps 0fe921e96f ariadne ethernet driver from Bernd Ernesti <bernd@arresum.inka.de> 1995-08-18 15:51:19 +00:00
chopps 2208782633 SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-08-18 15:27:29 +00:00
pk 8427fe6126 declarations 1995-08-18 10:47:46 +00:00
pk 7b7773a0c5 Use bootpath_store() to set next boot component; used in dk_establish()
to match `sd' devices against the PROM's boot path.

Detect DMA "overshoots" when handling odd-sized transfer sizes (e.g., xfers
from/to raw partitions), by using the "Transfer Pad" command when the
transfer count reaches zero.
1995-08-18 10:43:46 +00:00
pk ffbae23b6e Set `bootdv' if booted from the floppy drive. 1995-08-18 10:30:16 +00:00
jonathan d21f86df37 Initialize the ioasic slot probe table for the 3MIN (Decstation 5k/1xx)
and MAXINE (Decstation 5k/xx), instead of setting them to NULL.
New-config kernels should work on those machines now.

Rename the definition of the struct cfdriver for the IO ASIC from "asiccd"
to "ioasiccd", as the config-file name changed from "asic" to "ioasic".
1995-08-18 10:15:09 +00:00
pk f828a4b04c Add a debug flag.
Make `sc_dleft' a `ssize_t' since it's involved in a signed
comparison in esp.c.
1995-08-18 10:09:57 +00:00
jonathan 8ff2cc97a0 Rename "asic" to "ioasic", to be compatible with "machine-independent"
turbochannel/asic device drivers. (also comment out tt.c.)
1995-08-18 10:09:20 +00:00
pk 0596f75779 Use actual bus names (matches Chuck's bootpath code). 1995-08-18 08:20:26 +00:00
pk 6d3873af7e Bootpath construction code and associated SCSI target mapping to aid
the search for the boot-device in `swap generic' kernels.
From Chuck, munched by me.
1995-08-18 08:14:28 +00:00
jonathan c591ca4056 Merge back fixes from the merged Decstation/Alpha driver.
Remove all references to #ifdef SPARSE, and use #ifdef alpha instead.
Only initialize ASIC dma on a machine with an ASIC.
1995-08-17 22:28:27 +00:00
leo db846246ba Add video registers and other defines for Falcon video. 1995-08-17 20:34:04 +00:00
leo 44d433786d Remove 2 wrong proto-types. 1995-08-17 20:32:50 +00:00
leo a1fe704278 Initialize the YM sound-chip to a sane state. 1995-08-17 20:31:31 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
jonathan 647f483937 Remove turbochannel slot_hand_fill functions and all references
to them.
1995-08-17 09:27:18 +00:00
jonathan 2c6601a704 Remove lint in the intializer of the table used to glue new-config
drivers and the old-config PMAX-specific scsi drivers.
1995-08-17 06:54:56 +00:00
pk 42802ac2fa Drop si_minphys(). 1995-08-16 23:01:16 +00:00
briggs 68b61ea1ad Fix comments. .space 0x1000 was accidentally left commented so it
still is--just explicitly, now.
1995-08-16 13:18:24 +00:00
briggs 37004a19e4 Missing cast and semicolon in last. 1995-08-16 05:17:31 +00:00
briggs 665a6a78bc Load the old MacOS ROMBase value back in before we jump to reset. 1995-08-16 04:48:34 +00:00
gwr 238eb3d35a Correct a comment re. splnet 1995-08-15 17:41:38 +00:00
chuck 72d03ec724 TDR config update (from Theo). 1995-08-14 20:32:38 +00:00
gwr 2666f17777 SCSI bus phase not valid until REQ is true (Fix from David Jones). 1995-08-14 20:00:00 +00:00
pk de80daa3cd Make MCOUNT() PIC-safe. 1995-08-14 15:44:36 +00:00
briggs ae51ffca30 Always fail when probed--until this driver works. 1995-08-14 03:55:28 +00:00
briggs 64ea04b1d0 Be more vocal about interrupts that we don't expect.
Include ncrscsi.h and ncr96scsi.h.
1995-08-14 03:16:07 +00:00
mycroft 96d6db2c1a Export bsd_to_ibcs2_sig[], and use it.
Nuke ancient vmtime().
1995-08-14 02:27:30 +00:00
mycroft 9b899c17cd Export bsd_to_linux_sig[], and use it. 1995-08-14 02:19:08 +00:00