Commit Graph

5903 Commits

Author SHA1 Message Date
pk d19cacbb03 RCONSOLE => RASTERCONSOLE. 1995-10-04 23:35:13 +00:00
thorpej e43d278d31 Several changes:
* Reset the card on "fresh open" as a sanity measure.
	* Use the "secret bit" to enable interrupts.
	* Make some parts look/behave like their cousins in dev/isa/com.c
	* Set the FIFO threshold based on line speed.
	* Be a little more informative when port is attached.
	* Implement TIOC{G,S}FLAGS; ttyflags now works.
First two items prevent deadlock on some systems (notably the 380,
425, and 433) which some people have been reporting.  Use of the
"secret bit" seems to be safe on systems which don't need it.  Changes
tested on a 319, 340, 345, and 380.
1995-10-04 17:46:08 +00:00
briggs 5479e941d9 Add a second ppp. It makes the kernel a whole 8 bytes larger on disk. 1995-10-04 11:05:25 +00:00
thorpej 442aff9376 Say what I really meant in a printf()... 1995-10-04 08:39:14 +00:00
thorpej b675177228 Put new-style RCS ids in the startup banner. Makes bootblock revisions
much easier to recognize; old method could have revision corrupted by
local RCS control.
1995-10-04 07:24:31 +00:00
thorpej d08330454a Determine the select code of the console device, or -1 for internal grf.
Pass this value to the kernel in register d5.  This value isn't currently
used by the kernel, but will be in the future.
1995-10-04 06:54:42 +00:00
thorpej f060c456de Couple of changes:
* Implement TIOC{G,S}FLAGS; ttyflags works now.
	* Reset the card on a "fresh open" as a sanity measure.
	* Make dcmopen() and dcmclose() a little more like the
	  corresponding routines in the new dca.c
1995-10-04 06:39:06 +00:00
briggs 8ede165771 ae0 -> ae* and add a couple of vnd devices. 1995-10-04 03:42:18 +00:00
briggs 6e435f9152 Include ether.h to get NETHER. 1995-10-04 03:38:27 +00:00
pk dad96c6619 Add a few constants used for mapping bit and pieces in the kernel driver. 1995-10-04 00:21:27 +00:00
briggs be8ef88444 Raise number of bpfs to 12 since CAP needs a minimum of 8. 1995-10-03 20:19:01 +00:00
mycroft 4a17d4a861 Undo accidental deletions in last commit. 1995-10-03 20:18:58 +00:00
pk 32c023995c Bring reset logic into interrupt state machine. 1995-10-03 17:32:12 +00:00
pk fcc53878ca Make fbrcons_init() resistant against SUN4s. 1995-10-02 21:48:21 +00:00
pk cfbe993b9b Update to use <machine/cgtworeg.h> 1995-10-02 21:44:51 +00:00
pk 38d1101ad3 Silly me.. there's already a <machine/cgtworeg.h> 1995-10-02 21:44:22 +00:00
pk fb58a99a8f Fix some bogus calls to {read/write}disklabel(). 1995-10-02 21:04:45 +00:00
ragge e3e007e87c #include "sys/mount.h" added. 1995-10-02 12:33:32 +00:00
briggs 1ddc4223b1 Add offset to mac68k_vidlog as suggested by chas@ohm.nrl.navy.mil. 1995-10-02 09:41:06 +00:00
briggs 633e32000c Wrap call to arpintr() in NETHER to avoid unresolved external if no ether
devices are present.  Suggested by Paul Goyette (paul@pgoyette.bdt.com).
1995-10-02 09:38:38 +00:00
pk 82434458cc Get some of the bugs out. Thanks to David Gilbert for testing. 1995-10-02 09:07:03 +00:00
briggs d510375b06 Change to allow nack_message() to take an argument and send
MSG_REJECT_MESSAGE instead of MSG_ABORT when we get an extended message.
This allows a DEC drive to work when it attempts to negotiate synch.
transfers on us.
1995-10-02 09:03:53 +00:00
thorpej d7b36ab7a2 Add mt0. 1995-10-02 00:36:07 +00:00
thorpej f12fd2307e Driver for HP 7974a, 7978a/b, 7979a, 7980a, and 7980xc 9-track HP-IB tapes.
Original version contributed to Utah by Mt. Xinu.  Ported to 4.4BSD by
Mark Davies and Andrew Vignaux.
1995-10-02 00:28:20 +00:00
chopps 01d63931a5 only use one xmit buffer for ASDG 1995-10-01 19:30:22 +00:00
briggs 0066d1a66f Finally get this right... Final fix from Paul Goyette paul@pgoyette.bdt.com 1995-10-01 05:10:20 +00:00
briggs 9de2a25e73 Surround Debugger(); with #if DDB. Different fix than encl. for PR#1553. 1995-10-01 02:29:32 +00:00
pk 13dcbfbb29 Make this work with OBJ dirs. 1995-09-30 21:43:35 +00:00
briggs c1138ce68a Yet another error in the (next-to) last changes. 1995-09-30 21:34:54 +00:00
pk 160b38697c Refer to installboot(8) 1995-09-30 21:33:30 +00:00
pk a029979ad3 Manual page for installboot(8). 1995-09-30 21:32:14 +00:00
briggs 890baf19ea Fix stupid error in one of my last changes here. 1995-09-30 19:42:34 +00:00
chopps 35c3bd0da2 fix typo 1995-09-30 17:43:18 +00:00
chopps 672febd322 add conditionals around page zero debug stuff 1995-09-30 17:39:51 +00:00
chopps 678433e279 no longer needed by lance driver (now uses /dev/ic...) 1995-09-30 17:20:29 +00:00
chopps f144360393 oops, forgot to cvs add this 1995-09-30 17:18:22 +00:00
leo 1c107bd3e6 Add CD9660 option. 1995-09-30 12:48:12 +00:00
chopps d6ede49c3d fix typo (pr#1224) 1995-09-30 08:39:38 +00:00
chopps 852aa19159 add arcnet device, (pr#1148) 1995-09-30 08:34:49 +00:00
chopps 46b055b6dc some style cleanup 1995-09-30 02:08:47 +00:00
chopps 5295a0c32a add msc device 1995-09-30 01:54:00 +00:00
chopps 21575d71a5 changes for msc device 1995-09-30 01:52:37 +00:00
chopps 1683d8a23e new 2232 multiport serial device from:
Rob Healey <rhealey@kas.helios.mn.org>, Jukka Marin <jmarin@teeri.jmp.fi>,
Timo Rossi <trossi@jyu.fi> and Zik
1995-09-30 01:50:50 +00:00
jonathan 8945da0c58 Add speed entries for 7200 and multiples.
Add as-yet-unused speed entries for a 1x SCC clock, up to 200 Kbits.

Remove old top-bit-means-delay code, since nothing seems to need it,
and it apparently partially broke lk-201 initialization anyway.
1995-09-29 21:55:19 +00:00
jonathan ae1b64d888 Fix btoc()/ctob() typo in reading physical memory that stopped ps
from reading process argument lists.
Allow kernel-virtual memory reads to read the message buffer, since
dmesg needs it.
1995-09-29 21:53:29 +00:00
ragge 0b4e25a2c1 Arg to printf forgot. 1995-09-29 16:35:00 +00:00
ragge 24d550bffb Some typos. 1995-09-29 16:33:38 +00:00
chopps 319c531354 move 040 to hp300 style, use new MI lance ethernet driver
a few minor fixes WRT prototypes.
if_le from Charles rest from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-29 13:51:30 +00:00
chopps eab73b27b1 fix wrong arg to strncpy 1995-09-29 13:11:21 +00:00
phil c9836835f4 Make it as lean as possible. 1995-09-29 04:16:48 +00:00
jonathan b543578236 Add a missing "nop" in a delay slot in the floating-point exception
handler.  Gradual underflow and fp emulation now work correctly.
Proper denorms also fix strtod() inaccuracies and Gcc's "enquire" program.
1995-09-28 20:02:50 +00:00
phil d7992eb61f Update to correct load address. 1995-09-28 08:13:29 +00:00
briggs d73008fe8b Always announce it when loading miniroot. 1995-09-28 04:17:24 +00:00
briggs b1d771eeb5 Simplify nubus interrupt routines a bit. 1995-09-28 04:11:18 +00:00
briggs a9f0a2f9c4 Fix PR 1514 from Walter Ruetten. 1995-09-28 03:15:54 +00:00
pk 691b9f2bfa Avoid reading the filesystem superblock in bootxx; all info now prepared
by installboot (per Gordon Ross).
1995-09-27 09:03:13 +00:00
briggs 5a0bebbc54 Patch from Theo to finish clearing 040 kernel page tables. 1995-09-27 04:16:54 +00:00
briggs 232169396a Bullet-proof a little.
Make some more pdma code conditional on USE_PDMA.
Handle transfers of size > MIN_PHYS.
1995-09-27 03:38:57 +00:00
gwr 995b4710b8 Correct mapinfo for Multibus PROM devices. 1995-09-26 21:30:19 +00:00
gwr 50201d2bb5 Fix comment, add copyright. 1995-09-26 21:29:25 +00:00
phil 03fa08025b Major update: Many changes from Matthias Pfaller.
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
  is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
  driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
  memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
  be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
  inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
  splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
  not splx, but rett is now used to reenable CPU interrupts when leaving the
  interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
  Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000
1995-09-26 20:15:57 +00:00
chuck b3ecc4c310 make sure devopen() sets pd->devtype properly when BOOTXX is defined
(should be DT_BLOCK).  otherwise the bootxx boot block will fail if
you are on a system with a v2 openprom [because it will not do the
v2_seek in obp_strategy()].    fixes the problem recently noted on
the port-sparc list by matthew green <mrg@eterna.com.au>.   i tested
fix on a ss2 with a v2 prom.
1995-09-26 20:07:53 +00:00
gwr 3c868e07f9 New DVMA interface, and various cleanup. 1995-09-26 04:01:53 +00:00
gwr 48fc6c37a0 Correct child_return() so child is charged for its cpu time. 1995-09-26 03:53:46 +00:00
pk f33cf7c909 Correct cgtwo address. 1995-09-25 22:33:37 +00:00
jonathan f28ebc66ca Fix SCC bug that broke getty on pmax SCC lines: if RAW and LITOUT were
both off, haracters with their top bit clear were interpreted as a delay.
This (strange) behaviour is still available if  SCC_PARITY_MEANS_DELAY
is defined.
1995-09-25 22:10:56 +00:00
jonathan 95a27d405b Update pmax kernel to compile with -Werror:
update MAXINE desktop bus driver to pass a softc to interrupt
handler.  The softc is still statically allocated.
1995-09-25 21:12:33 +00:00
jonathan ed4d846a84 Update pmax kernel to compile with -Werror:
Add prototypes to the driver switch for old-style 4.4bsd/pmax device drivers
(i.e., the old pmax SCSI drivers).
1995-09-25 21:10:03 +00:00
jonathan 51d59ca152 Update pmax kernel to compile with -Werror:
Fix the initializer of the prom bootinit() function, to take a char* that's
(presumably) the name of the file  to boot -- even though it's not used.
1995-09-25 21:06:29 +00:00
jonathan cd887a9930 Add "kvtophys()", which maps MIPS R2000 kernel-virtual addresses to physical addresses,
so they can (e.g.) be written to DMA mapping registers.
1995-09-25 20:36:23 +00:00
chuck b47de9fb69 new "xy" disk device driver from me.
the "xy" driver runs Xylogics 450/451 SMD disk controllers.
1995-09-25 20:35:14 +00:00
jonathan 06bd2712e9 Update pmax kernel to compile with -Werror:
Update TURBOChannel and ioasic interrupt-establish routines to pass on their
device argument as a "void *", since that's how all the pmax interrupt handlers
are declared.
1995-09-25 20:33:26 +00:00
chuck 25563b1f82 add config info for "xy" xylogics 450/451 driver 1995-09-25 20:27:30 +00:00
chuck 8d19642cd6 add "xy" xylogics 450/451 config stuff 1995-09-25 20:20:27 +00:00
chuck 1779adf6be minor cleanups:
- don't let pcyl go unassigned if we have a non-sunos disklabel.
		if nothing else, guess pcyl = ncyl + acyl.
	- don't use bogus disklabel data if disk label is invalid
		(xdgetdisklabel() now returns if label was ok or not).
	- move xddriver decl. before start of actual code (cleanup).
1995-09-25 20:12:44 +00:00
chuck 2aff99a206 bug fix: xddummystrat() was clearing all but B_BUSY when it should
have been clearing just B_BUSY (s/B_BUSY/~B_BUSY/).    this
	fixes hard hang when reading disklabel when booting system.
minor clean up: added a few prototypes and only fool with bootpath
	if booting the system (in xdattach).
1995-09-25 16:02:09 +00:00
jonathan 27361456c5 Force a delay after calling SCC_WRITE_DATA() to give the chip
registers time to settle. DELAY(2) is reportedly enough.  Without the
delay, output characters are occasionally doubled.
1995-09-25 04:30:43 +00:00
jonathan 7bb66692c0 Add fine-grain clock code which uses the 25 MHz TURBOChannel bus-cycle
counter on 5k/240s to interpolate to microsecond-resolution clock
in microtime().  Only the "rev B" ASIC in 5k/240s is known to have
this counter; other models may or may not.  This gives microsecond
resolution at user-level, and up to 40ns resolution (modulo the
nominal 5(?) 40MHz cpu cycles for reads to complete) in the kernel.


Change the IOASIC reset function to set up the DMA mapping for the
53c94.  Allocate 16 Kbytes of DMA buffer for 53c94 ASCs under an IOASIC,
as the 3MAX baseboard and TC options  have 128 Kbytes of static
bounce buffer, and the drivers really _should_ support 16Kbyte
I/O requests. (They don't always.)

Give the LANCE a hard reset on 5k/240s, just to be on the safe side.
(the 5k/240 I use sometimes reported errors at boot time.)
1995-09-25 04:21:01 +00:00
jonathan 462ef77234 Use the new "struct rconsole"; changes I apparently forgot to commit with
pmax/dev/fb.c.
1995-09-24 23:13:00 +00:00
pk 825bd034de Move pseudo swap block device to major 4 to make way for `xy'. 1995-09-24 20:45:27 +00:00
briggs 4d52f57876 Add Technology Works ethernet card. From
Kazunari Nakamura <kazu@nkk.co.jp>.
1995-09-24 14:13:56 +00:00
thorpej a33b9f4fdb Assume primary swap is `b' partition, not `root partition + 1'. 1995-09-24 02:18:11 +00:00
chuck 4408ec71bf init bad144 table before we actually try and read anything from the
disk, rather than init'ing after reading block 0 [in case we get an
error reading block zero].
1995-09-24 00:27:59 +00:00
leo 44561deb01 Add support for the FX-card - Falcon mem. extension - (Nat!) 1995-09-23 20:31:21 +00:00
leo 7af927b56d Make sure the prototypes and inline definitions are included. 1995-09-23 20:29:16 +00:00
leo afea10f476 Correct mapping for new (iso-8859-1) fontsets (Thomas Gerner). 1995-09-23 20:27:15 +00:00
leo f28a41635b Make them compliant to iso-8859-1 (Thomas Gerner). 1995-09-23 20:25:34 +00:00
leo c150cc4d37 PROF -> GPROF 1995-09-23 20:23:28 +00:00
leo e44fc4282e Use -msoft-float as suggested by Gordon Ross. 1995-09-23 20:22:01 +00:00
thorpej 3810bc32eb Compile the system installation program and install it in /usr/mdec/rbootd
as SYS_INST.
1995-09-23 17:40:54 +00:00
thorpej a8c323442d Add a standalone system installation program. Currently implements:
* Prompt user for disklabel information and label disk.
	* Copy miniroot image from NFS server to `b' partition.
	* Boot kernel in miniroot image into single-user mode.
Hooks for tape support are there, but the meat for that isn't implemented yet.
1995-09-23 17:38:51 +00:00
thorpej a35f639de0 If compiled for the system installation program, prompt for myip, gateip,
netmask, serverip, and path rather than using rarp/bootparam.

Catch up with libsa changes.
1995-09-23 17:31:10 +00:00
thorpej d429f2e11f Re-arrange a mite; for the system installation program. Catch up with libsa
changes.
1995-09-23 17:28:11 +00:00
thorpej 188f6e6912 Add *close() routines. Basically, zaps softc structure so that partition
information will be re-loaded upon next open.

Catch up with libsa changes.
1995-09-23 17:19:58 +00:00
thorpej b8e9fb1b0b Catch up with libsa changes. 1995-09-23 17:17:03 +00:00
ragge 2572267bae relocation_info added. 1995-09-23 14:57:40 +00:00
chopps 96163f6aa5 fix typo 1995-09-23 13:42:03 +00:00
chopps 40a6506694 add memcpy entry 1995-09-23 08:14:36 +00:00
gwr 23ee56022d Cleanup, and catch up with libsa changes. 1995-09-23 03:42:17 +00:00
gwr 13d9b9d700 Sync up with the sparc version. 1995-09-23 03:40:28 +00:00
briggs e23598f24f Much improved pdma transfers.
Still not nearly as fast as FWB's drivers under the MacOS.
Uses the "blind" transfer method instead of polled pdma.
1995-09-23 01:11:42 +00:00
jonathan 21f7aa38f6 Update the pmax rcons pseudo-device driver to work with the sys/dev/rcons
version of rconsole.
1995-09-22 23:48:20 +00:00
phil 7ed7d6148f Move the C struct to the properly protected place. 1995-09-22 23:19:30 +00:00
thorpej 42662e7b9c Need <sys/mount.h> 1995-09-22 15:29:33 +00:00
thorpej f03897c2b6 "Oops." Get the declaration of sys_arch() correct. 1995-09-22 15:27:10 +00:00
jonathan d1234038d4 Rename the force-all-pending-writes to memory function to wbflush().
Keep the old Mach-derived name "MachEmptyWriteBuffer()" as an alternate
entry point.
1995-09-21 23:28:31 +00:00
thorpej 7c36f209e7 Need <sys/mount.h> now. 1995-09-21 22:26:04 +00:00
briggs fc919965e8 Make sunos_sigreturn() match prototype. 1995-09-21 11:41:04 +00:00
briggs 01be7f2b8c Need sys/mount.h for fhandle_t. 1995-09-21 11:27:43 +00:00
briggs 4a9cf8407c Fix a warning. 1995-09-21 11:13:27 +00:00
thorpej ddf9c6da16 Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
current reality.
1995-09-21 07:27:52 +00:00
briggs fbd9919364 Fix warning and use __P for prototypes. 1995-09-21 03:36:25 +00:00
briggs b895726b5c MACCCLASSIC is Color classic. And it's more like an LC than hopeless. 1995-09-21 01:56:31 +00:00
jonathan 0641f09bfb Include <sys/mount.h>, as the new <sys/syscallargs.h> won't compile without it. 1995-09-20 23:33:25 +00:00
briggs de36f970fb Fix a few oversights. From Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de> 1995-09-20 13:03:21 +00:00
jonathan 2991316b06 Remove unecessary references to arch/sparc/rcons/raster.h, and some other lint. 1995-09-20 05:36:13 +00:00
jonathan 3589d052f0 Add gory debugging, because I don't have access to a MAXINE to test
the baseboard framebuffer driver with rcons and it reportedly didn't work.
1995-09-20 05:19:54 +00:00
jonathan d0c0f7f738 Fix initialization of MAXINE xcfb as console. 1995-09-20 05:13:06 +00:00
jonathan df58dc7d89 Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-20 04:33:00 +00:00
thorpej 3253873a9e Use `files.ultrix' 1995-09-20 00:25:44 +00:00
thorpej 03c87b6ebc Use `files.osf1' 1995-09-20 00:20:18 +00:00
thorpej a11f0c987e Compile kernel with -Werror and -fno-builtin. 1995-09-19 23:57:55 +00:00
thorpej 970f736653 Compile the kernel with -Werror -fno-builtin. 1995-09-19 23:54:29 +00:00
thorpej c9dfdd20b6 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:48:41 +00:00
thorpej ad05d707bf Compile the kernel with -fno-builtin. 1995-09-19 23:34:06 +00:00
thorpej 2d61359f60 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:33:12 +00:00
thorpej 5ac5b98a9c Compile the kernel with -Werror and -fno-builtin 1995-09-19 23:32:21 +00:00
thorpej 065ee11549 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:30:54 +00:00
thorpej a7417b3ca6 Compile the kernel with -fno-builtin. 1995-09-19 23:28:06 +00:00
thorpej b903d705da Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:26:58 +00:00
thorpej bca85a86b1 Compile the kernel with -fno-builtin. 1995-09-19 23:25:29 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
briggs 516ddf511f Wrap only the message in ifdef DIAGNOSTIC. 1995-09-19 03:18:15 +00:00
pk c030fa6ef2 Install in /usr/mdec 1995-09-18 23:33:42 +00:00
pk aa41c30406 Don't strip bootxx on installation. 1995-09-18 23:32:41 +00:00
pk 4025edc861 Make this compile again by calling readdisklabel() with a dummy strategy routine.
XXX - need some reorganization to this from xdopen().
1995-09-18 23:26:39 +00:00
pk 371dd67d56 sync filesystems just prior to writing the bootblocks to the raw device. 1995-09-18 22:36:19 +00:00
pk 974115eb54 Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
chuck 05f929580f read superblock into &sblock rather than LOADADDR. we can't read
into LOADADDR because it can't be mapped into DVMA space.   this fixes
a dvma panic on a sun4 boot from an xd disk.
1995-09-18 20:24:53 +00:00
chuck 24ba08adca Fixed RELOC's to be hex numbers (as expected) rather than decimal.
(e.g. s/340000/0x340000/).   Fixes DVMA panic on my sun-4/280 when
booted diskless.
1995-09-18 19:52:15 +00:00
briggs 909842fb1f Correct jClkNoMem address for C650 from
nick@csua.berkeley.edu via Walter Ruetten.
1995-09-18 13:55:09 +00:00
briggs e8dbcda856 Do not define MIN_PHYS here--it is m.d.. 1995-09-18 13:52:43 +00:00
briggs cb5010a4fe Fix a spelling slight. Grab the faulting address if nofault in bus error. 1995-09-18 13:51:25 +00:00
briggs 927d165081 Optimize the via interrupt processing routines a tad. From
chas@ohm.nrl.navy.mil (Charles J. Williams).
1995-09-18 03:15:43 +00:00
jonathan c8a3bfd5ed Update files.pmax to use Ted Lemon's port of the sparc rcons glass-tty fb
driver, the "generic" fb pseudo-device driver, and dev/cons.c.
Update an example new-config file (NEWCONF) to use them.
1995-09-18 03:09:03 +00:00
jonathan 9e925a1b42 Add cdevsw and bdevsw entries for the machine-independent sd and st drivers.
Add cdevsw and bdevsw entries for the old-pmax tz SCSI tape driver, and
add a do-nothing definition of the requisite tzdump().
1995-09-18 03:04:53 +00:00
jonathan e18d468a1a move DEC qvss/pm - compatible (kernel tracks mouse) mouse-input parser
to qvss_compat.c  Move low-level mouse initialization to lk201.c.
1995-09-18 03:01:22 +00:00
jonathan 6d9de6f768 Fix qvss/pm compatible ioctl to set colormap entry. 1995-09-18 02:57:31 +00:00
briggs cb4eb50b28 Change HwCfgFlags4 to something a bit more mnemonic. 1995-09-17 21:28:33 +00:00
pk f447526366 vmes => vmes0 1995-09-17 21:11:13 +00:00
pk 11f1ea06af These files have moved to sys/dev/rcons. 1995-09-17 21:08:25 +00:00
pk 2c523b5941 Remove rcons lines.
Add cgtwo.
1995-09-17 21:03:36 +00:00
pk 30150218f5 Add cgtwo0. 1995-09-17 21:02:56 +00:00
pk c5bc107461 cgtwo framebuffer, cloned from cgthree.c and sun3's cg2.c.
Note: untested, shall be considered a framework to get things started..
1995-09-17 20:53:43 +00:00
pk c92d076f5b Change interface to th `fb' pseudo device to not need the major device
number (a la sun3).
Put in new glue for rcons.
1995-09-17 20:43:39 +00:00
pk b89096d14f Remove all rcons related stuff from `fbdevice'; this is now defined in
dev/rcons/rcons.h.
1995-09-17 20:41:30 +00:00
briggs 1c8c505974 Fixes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
to avoid panic()s when we read the PRAM values while ROM
vectors are missing.
1995-09-17 18:51:40 +00:00
briggs b528dcf5c2 Fix from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
to prevent his last changes from causing a panic if some
values are not filled in in the ROM vector table.
1995-09-17 18:50:17 +00:00
briggs c4250f7102 Add rom vector for LCIII from Peter Kohler (kohler@ife.ee.ethz.ch)
via Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
1995-09-17 05:22:57 +00:00
pk a32163f292 Correct some prototypes. 1995-09-17 00:50:54 +00:00
pk f97c30e5fe Network booting; "oldmon" support; combine all functionality in single images.
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
1995-09-16 23:20:22 +00:00
briggs a106882a85 Only use PIO instead of PDMA if DRIVER_NOINT. 1995-09-16 18:22:33 +00:00
ragge 3579b04cac Obsolete when not using Microvax rom anymore. 1995-09-16 16:21:56 +00:00
ragge c378250058 Calls to MicroVAX rom routines removed. 1995-09-16 16:20:18 +00:00
chopps 34373365cb Add minimal dumpfile support.
Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions.
Change siop drivers to better handle sync.
Remove diag. done for ide -- its redundant as the ROM does similar.
fixed ite_filter to not panic if typing before the device is fully setup
All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-16 16:11:03 +00:00
ragge 67abd74816 struct rpb -> include/rpb.h 1995-09-16 15:58:57 +00:00
ragge 01c7626f80 Load microcode file on 11/750. 1995-09-16 15:54:20 +00:00
jtc 864f186a4e Use MAN instead of MAN8 (although it doesn't matter here because vgaio
is neither built nor installed).
1995-09-16 15:52:38 +00:00
jtc 6e9c7ee5a8 Use MAN instead of MAN3 and MAN5 1995-09-16 15:49:40 +00:00
ragge 64a23e9a8b Take care of xon/xoff (== discard them). 1995-09-16 15:48:49 +00:00
jtc ee21163cab moved up one level in directory structure 1995-09-16 15:47:27 +00:00
ragge 7bffdf561e Removed bug to prevent division-by-zero when accessing unlabelled disks. 1995-09-16 15:43:25 +00:00
briggs ccaff4431c Simplify doboot(). 1995-09-16 15:35:05 +00:00
briggs ea4e385abd Map in the VIA space for the bloody Mac II ROMs that directly reference
a hardware address.  Also map in the ROM space before we call doboot().
1995-09-16 15:33:54 +00:00
briggs 6ed4261a1b Fix segment table reference bug (from Michael Hitch). 1995-09-16 15:09:28 +00:00
briggs a8b0260a05 Sync. with atari ncr5380.c -- mainly whitespace changes. 1995-09-16 15:06:55 +00:00
leo dff8e2275e Fix segment table reference bug (Michael Hitch) 1995-09-16 14:18:09 +00:00
leo a2a0fe9c66 - Handle devices that do not support identify messages (Allen Briggs)
- Add pdma_ready() hook (Allen Briggs)
- Increase timeout to 1000 (Matthias Pfaller)
1995-09-16 14:15:10 +00:00
ragge 395e73a5d7 ka650 added. Converted to KNF. 1995-09-16 13:34:20 +00:00
ragge ed3a9bf3b0 TMSCP support added. 1995-09-16 13:18:27 +00:00
ragge eefa8685a2 Bootblock support for tmscp added, used on MicroVAX.
MicroVAX rom routines not used anymore, too inconsistent when
not using FILES-11 filesystem.
1995-09-16 13:01:06 +00:00
ragge b5733df6fb Standalone support for TMSCP tapes, based on ra disk driver. 1995-09-16 12:57:35 +00:00
ragge 7e902b634e Foolish and easy standalone prog to edit disklabels. 1995-09-16 12:56:03 +00:00
ragge 8feecb9503 Rick Macklem's copy hack that can do standalone (multi-)volume
copies from anything to anything.
1995-09-16 12:53:49 +00:00
briggs 214a1bac9f Fixes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
to use ROM routines to read and write PRAM times, etc..
1995-09-16 12:35:53 +00:00
briggs bee931c117 Set timezone to 0. The booter's GMT bias should be used, instead. 1995-09-16 12:33:06 +00:00
briggs 2e06f3f2bb More changes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
for correct handling of timezones and PRAM <-> system time conversion.
1995-09-16 12:31:13 +00:00
ragge 007a539df5 Readme & install files added and updated. 1995-09-16 12:00:19 +00:00
briggs 4dc81200f5 Rename scsi_main_irq() to pdma_ready().
Missed a few ATNs in last patch.  (pointed out by Leo).
Raise timeout from 100 to 1000.  From Leo.
1995-09-16 11:45:18 +00:00
jonathan 008afe8e46 Replace the old 4.4bsd/pmax framebuffer glass-tty font with one
suitable for the NetBSD/sparc-derived "rcons" framebuffer glass-tty.
1995-09-16 02:05:11 +00:00
briggs 048e948791 As Leo pointed out, my last change was not safe. This one should be.
I added two new bitfields to ncr_softc.  They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN.  If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield.  If it fails
thereafter, we treat it as we did before.
1995-09-15 01:52:18 +00:00
briggs a0d6a95720 indentify.
Bring in a few changes from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de).
Assume that PRAM time - GMT bias (set in the booter) is the current time
in UTC.
1995-09-14 23:44:12 +00:00
pk db43cabe32 Re-instate configuration print routines, following Chris' suggestion.
Only prints something if there's no scsi bus to attach.
1995-09-14 20:38:53 +00:00
hpeyerl 8acf48ade5 update comment to include Etherexpress. 1995-09-14 12:46:42 +00:00
briggs 1b34b69c93 Gah... The Asante SCSI/ethernet box doesn't answer the ATN request
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.
1995-09-14 02:54:05 +00:00
briggs d8ab74fcf2 Honor new MACH_CLASSIIvx. 1995-09-14 02:49:11 +00:00
briggs 13c1f2d48b Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs 9c61c22d66 Clean up message a tad. 1995-09-14 02:43:51 +00:00
jonathan d7b9b56e07 Rename the old pmax SCSI driver's "struct scsi_device" to
"struct pmax_scsi_device", to avoid name conflicts with the sys/dev/scsi
SCSI driver.
1995-09-13 19:35:53 +00:00
thorpej f47d026fb3 Fix cosmetic typo in kernel name prompt. 1995-09-13 18:52:39 +00:00