Commit Graph

6752 Commits

Author SHA1 Message Date
briggs d504670861 Fix for serial console handling from Bill Studenmund. 1996-03-06 23:22:41 +00:00
mark a88b7466b9 Added structures to describe RISCiX partition tables. 1996-03-06 23:17:51 +00:00
mark 4da86891fc Add support for software single stepping.
Define SOFTWARE_SSTEP for the ddb code.
1996-03-06 23:16:54 +00:00
mark daf2144c3a Removed redundant boot parameters relating to swap sizes. 1996-03-06 23:11:36 +00:00
mark 49cf80b1b2 Initial commit of machine dependant debugger functions. 1996-03-06 23:08:36 +00:00
mark bcfc2f794a Fixed the typedef of label_t to be 11 words as required by setjmp and
longjmp in locore.S
1996-03-06 23:04:04 +00:00
mark f380bafdee Added to code fixup the pc on entry to the debugger.
Added funtions for software single stepping.
1996-03-06 23:01:49 +00:00
mark e6e9c2985e Added stack frame structure for debugger tracebacks. 1996-03-06 22:53:50 +00:00
mark 32e37aa2c9 Code now actually performs a stack traceback. 1996-03-06 22:49:51 +00:00
mark 9e18e78df6 Fixed multiple miscellaneous bugs. Fixed the case of some instruction
operands. Added support for dissassembly of more of the instruction set.
1996-03-06 22:46:37 +00:00
mark aeec9c8ac1 Added code to locate the NetBSD disklabel on disks with RISCiX partition
tables.
1996-03-06 22:43:11 +00:00
is ce4541b2da Altais graphics board support, and some nicer formatting of preconftab.
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is 006fe839fe Back out change intended for netbsd-1-1 and accidentally committed here 1996-03-06 16:40:16 +00:00
leo 957e1c5c7d Use files.scsi 1996-03-06 14:47:44 +00:00
is 3020e66dd5 Fix problems with fast CPUs and Picasso boards. Patches originally by,
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
veego e77f3c0a27 ups, ite5 is at grf5 and not at grf4 1996-03-05 17:46:23 +00:00
mycroft 0903ac5cd2 Do an async_update() iff the output buffer is empty.
Make the IOPL handling #ifdef COMPAT_1[01].
1996-03-05 12:57:30 +00:00
mycroft 0c231d0e0d Update the CRT start registers asynchronously. 1996-03-05 11:38:31 +00:00
pk 90fb0cc9da Don't come down so hard on targets that ignore SDTR msgs. 1996-03-05 09:29:58 +00:00
thorpej 85720fdf67 Add a blurb about the EXTMEM_SIZE option to the example kernels, disabled
by default.
1996-03-05 01:32:11 +00:00
thorpej b65bdb63d6 Add an EXTMEM_SIZE option to set the size of extended memory on systems
that lie about it.  Deals with PRs #1319 and #1831.
1996-03-05 01:28:51 +00:00
thorpej ae5cde21bd RCS id police. 1996-03-05 00:37:24 +00:00
is 04145bfde8 Fix for newer S3 chipsets by Matthias Scheler (from -current). 1996-03-04 20:36:56 +00:00
chuck 9f330ed6e0 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
(the xd bugs also apply to the xy driver...)
 [1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:25:32 +00:00
chuck e4c86dc3f8 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2168).
[1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:22:50 +00:00
chuck 9bb0e5dba5 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169)
[these bugs apply to the xy as well as the xd driver]
 [1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
        ACK something you don't mean to!).
1996-03-04 20:13:39 +00:00
chuck 9fee13d104 Fix two bugs reported by Don Koch <aardvark@poirot.krl.com> (PR#2169).
[1] check return value from malloc() for NULL before trying to bzero it.
 [2] use "=" rather than "|=" when writing to CSR (otherwise you may
	ACK something you don't mean to!).
1996-03-04 20:11:32 +00:00
is 7873fac590 Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
1996-03-04 19:49:11 +00:00
cgd c8487c701e reorganize mapping register definitions 1996-03-04 19:30:50 +00:00
cgd 18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
mycroft 7f1ba9f148 Update for changed DMA interface. 1996-03-04 04:01:03 +00:00
cgd fedca4f133 Attach isa, eisa, and pci to mainbus now, rather than root. The i386
now has a single device tree (rather than a forest).  Also, attach
EISA only if it's present, and attach in order: PCI, EISA, ISA (most
specific to least specific).
1996-03-04 03:25:48 +00:00
thorpej 9029778d04 RCS id police. 1996-03-03 16:54:17 +00:00
thorpej b2c3f54207 Fix logic errors in new console probe code that caused framebuffers
outside of "internal i/o" space to not even have a chance at console-hood.
Fix tested by Thorsten Frueauf <frueauf@ira.uka.de>, and offered with
my sincerest apologies that the bug ever existed in the first place.
1996-03-03 16:48:52 +00:00
ragge c2ce0848e2 Added ns_cksum.c. 1996-03-03 11:56:33 +00:00
ragge c76bb64058 Machine-optimized version of ns_cksum.c. 1996-03-03 11:54:37 +00:00
ragge c22fc0bce4 Enable label_t. 1996-03-03 11:21:31 +00:00
ragge e82da18ec2 Fix include file ordering. 1996-03-03 11:18:59 +00:00
ragge f2bcddae7f Fix fuswintr/suswintr arguments to match prototype. 1996-03-03 11:17:59 +00:00
thorpej 570949e0e4 Catch up with ITE data structure changes. 1996-03-03 04:23:33 +00:00
jtk 8c395495bf set ia->ia_iosize to 0 so that the probe code doesn't spit out lots of
gunk.
1996-03-03 04:12:48 +00:00
pk 855b6def84 Add ns_cksum. 1996-03-02 23:55:17 +00:00
ragge 7ade5ebd76 Files needed to create boot floppies for 11/780, most of them
taken directly from 4.4BSD.
1996-03-02 17:57:34 +00:00
ragge ffc8953cd7 Change config delay's to more reasonable values. 1996-03-02 14:29:23 +00:00
veego 39aeb2aa25 console driver for the CyberVision64 1996-03-02 14:28:51 +00:00
ragge 5d89814116 Changes due to 11/780 support. Raise splimp() to BR7. 1996-03-02 14:27:52 +00:00
ragge cef093b42e Add VAX780 support to the boot program. 1996-03-02 14:22:57 +00:00
ragge 8fbcb8ce5a Add VAX780 and DHU11 to the GENERIC file. Put the corresponding
file lines in files.vax.
1996-03-02 14:19:47 +00:00
ragge 10fe8f1971 All devices can now be in GENERIC. 1996-03-02 14:14:05 +00:00
ragge 827892239a Add support for DW780. Note that ubareset's don't work properly.
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.
1996-03-02 14:09:57 +00:00
ragge 89e32834cd Fix some too long delays. Set some structs volatile that otherwise
caused hangs during autoconfig.
1996-03-02 14:06:03 +00:00
veego 18fd2ce9c2 Updated for the new CyberVision64 console
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
veego 6160a6474d Updated for the new CyberVision64 console
and a small cleanup in the GENERIC config
1996-03-02 14:00:31 +00:00
ragge 508f81daca Support for VAX 11/780 - 11/785 system types added.
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)
1996-03-02 13:45:34 +00:00
ragge a14bb8a710 Add a #ifdef TUDEBUG around a printf statement. 1996-03-02 13:41:24 +00:00
ragge c45af1134a Unibus/Q22 bus device driver for DHU-11 serial card.
Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca)
1996-03-02 13:30:53 +00:00
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
scottr 9aebe01038 Add newlines to CPU class notices 1996-03-01 21:49:49 +00:00
is c1e8e92697 "major" declarations which got lost when the scsi stuff was changed to
include ../../../scsi/conf/files.scsi
1996-03-01 19:42:26 +00:00
scottr 9e8b6a032a Don't try to make dependencies for SFILES if it isn't defined. 1996-03-01 17:03:17 +00:00
thorpej 9f2837ac9b "oops", forgot to check this in...add entries for the cgfour and cgeight. 1996-03-01 08:11:00 +00:00
thorpej f579d1a485 Fix an operator precedence botch. *sigh* This just hasn't been my week. 1996-03-01 07:44:43 +00:00
pk abd3cf4df2 Don't reset `xs->retries'. 1996-02-29 23:33:48 +00:00
pk bf59310f69 Fix typo, and bring back VA hole handling. 1996-02-29 22:15:13 +00:00
cgd 3d67685d36 Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them.  From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
leo e800077389 Added to build the bootloader stuff. 1996-02-29 11:41:31 +00:00
leo 48f5b02304 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:46 +00:00
leo e538eed242 NetBSD/Atari bootcode by Waldi Ravens. 1996-02-29 11:35:05 +00:00
thorpej 93dff23036 Back out the "don't use DMA if SCSI_POLL is set" saftey-net. The
MI 5380 code did something I didn't really expect, which caused DMA
to disable itself if only DMA was enabled.  *grumble*
1996-02-29 03:28:38 +00:00
gwr 2de7b2e5cb update PMAP_PREFER 1996-02-28 22:44:33 +00:00
pk 8bea3309c3 Fix typo 1996-02-28 22:09:27 +00:00
thorpej 2d885d15e9 Fixup an RCS id. 1996-02-28 20:54:50 +00:00
thorpej 50c8d6cdb0 Oops...missed to places where I could have used CPU type macros. 1996-02-28 20:53:02 +00:00
thorpej 8caec41719 RCS id police. 1996-02-28 20:49:18 +00:00
briggs 883ff3e7f3 Changes from Walter Ruetten for P550 support. 1996-02-28 04:14:05 +00:00
cgd 379b6eadf4 pci devices are now specified like "foo* at pci? dev ? function ?". also,
add support for PPB's and secondary PCI busses, where appropriate.
1996-02-28 02:02:29 +00:00
cgd 0bcfb3598b update for adjustments to ISA and PCI 'files' files 1996-02-28 01:58:25 +00:00
cgd df03361e4b update for new method of attaching isa/pci busses 1996-02-28 01:54:44 +00:00
cgd 591c6fd2cd make PCI bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:50:02 +00:00
cgd f5f5831829 make ISA bus match/attach and sub-device attachment machine-independent.
(remove that code from this file.)
1996-02-28 01:49:35 +00:00
gwr 51815fdcd6 Kill a mis-matched and unnecessary declaration. 1996-02-28 01:48:48 +00:00
thorpej ee8a2c002f Copyright assigned to The NetBSD Foundation. 1996-02-28 01:01:17 +00:00
jtc bfbc5fb90c Copyright assigned to the NetBSD Foundation 1996-02-27 22:39:39 +00:00
jonathan 467a64a327 Replace tc.c and ds-tc-conf.c with a re-written tc_subr.c. tc_subr.c
works with the revamped machine-independent TC code in sys/dev/tc.
A name change is necessary to avoid a name clash with sys/dev/tc/tc.c,
which also creates a tc.o.
1996-02-27 22:35:05 +00:00
jtc 8bd51c47b9 Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
jonathan 776c58e187 TurboChannel bus auto-configuration tables, and TurboChannel pre-autoconfig
probe functions for console framebuffers,  rewritten to work  with the
machine-independent TC support in sys/dev/tc.
1996-02-27 22:28:08 +00:00
scottr f08c9ffa5a make this compile again, since CONUNIT is no longer defined for us.
per Jason.
1996-02-27 22:11:44 +00:00
thorpej edf9d66f32 First-cut support for P4 framebuffers. Currently supports P4 variants
of bwtwo, cgfour, cgsix, and cgeight.  Includes support for attaching
the overlay plane of the cgfour and cgeight as a bwtwo instance (a'la
SunOS).

P4 register descriptions, cgfour driver, and cgeight driver partially
derived from OpenBSD.

This code may still need polishing.
1996-02-27 22:09:14 +00:00
pk fe5a56ec9d Be sure to malloc() in page-sized units. 1996-02-27 13:17:01 +00:00
pk 70eee90be3 remove a printf 1996-02-27 09:10:24 +00:00
briggs 92c6f5f0ee Get rid of some unneeded constants. 1996-02-27 03:29:16 +00:00
briggs 6ec37fa3df Use IOBase instead of INTIOBASE. 1996-02-27 03:25:47 +00:00
briggs db2f33c640 Clean out some unneeded constants. 1996-02-27 03:23:42 +00:00
briggs 1dcd5f9d15 For a bus error in nofault, if it's an 040, load the address from the
correct frame offset.  This is required for the 5380 driver to work
properly.
1996-02-27 03:17:00 +00:00
pk 9216cf3276 Drain rev 1 chips in dma_reset(). 1996-02-27 00:36:11 +00:00
pk 2c646f8da5 `bwtworeg' is just about the same as the generic `fbcontrol'. 1996-02-27 00:32:34 +00:00
cgd e4a3b7650e oops; remove extraneous #if/#endif pair 1996-02-27 00:15:23 +00:00
pk 6b5eb65b21 bt_reg => fbcontrol. 1996-02-27 00:14:17 +00:00
cgd 570976f77c change previously-useless config_rootfound() for the EISA bus so that
it provides what the new MI EISA code expects.
1996-02-27 00:13:45 +00:00
pk 8628f94179 Use `video enable' bit in framebuffer control. 1996-02-27 00:11:14 +00:00