Commit Graph

8138 Commits

Author SHA1 Message Date
chuck d14981d7b7 bugdev.c: from Dale Rahn (bug device access)
exec_mvme.c: from sun3 port, adapted by me.   I also fixed a bug that
	prevented ZMAGIC kernels from running.
libsa.h: new file by me
parse_args.c: by Theo de Raadt from OpenBSD with slight revisions from by me
	to make it fit the new format.
1996-05-17 20:59:53 +00:00
chuck 23ee5c7500 replace with code to use libbug rather than access directly 1996-05-17 20:54:50 +00:00
chuck 86a71fe9e7 complete revise of sun3 SRT0 so that it works with bugcrt by me. 1996-05-17 20:53:49 +00:00
chuck 3430ad6211 update for my reorg 1996-05-17 20:52:37 +00:00
chuck d2da5a2153 remove files no longer needed due to reorg. 1996-05-17 20:49:23 +00:00
chuck 36079d8909 update for new boot stuff 1996-05-17 20:45:48 +00:00
chuck 75dfdfdab4 bootxx: import from sun3 port, adapt to mvme68k by me. 1996-05-17 20:11:31 +00:00
pk 05379d078e Add `_kernel_text' symbol for kvm_mkdb(8). 1996-05-17 20:07:53 +00:00
chuck ccc9ad0d6c fix comment 1996-05-17 20:07:36 +00:00
chuck 62a58e8eaa bootst: from Dale Rahn. 1996-05-17 20:06:45 +00:00
chuck 008b8c0664 bootsd: import from sun3 port, adjust for mvme68k port by me 1996-05-17 20:04:46 +00:00
chuck bee8cda103 installboot: from sun ports 1996-05-17 20:00:52 +00:00
chuck 671b4023a4 wrtvid by Dale Rahn. 1996-05-17 19:58:53 +00:00
chuck 89a5edba69 prtvid (print out a VID block). by Dale Rahn. 1996-05-17 19:54:57 +00:00
chuck 94e848e819 update for libbug.h, console I/O 1996-05-17 19:50:10 +00:00
chuck a48f9896dd fix -I 1996-05-17 19:43:48 +00:00
gwr a0d3ad800b Add the version line. 1996-05-17 19:39:30 +00:00
chuck 71c9b6faad pull in a set of changes I forgot to include in initial version 1996-05-17 19:37:59 +00:00
gwr 50ecbc1c84 Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.
1996-05-17 19:32:06 +00:00
chuck eabb97da52 libbug from Dale Rahn. Revisions by Theo de Raadt and myself. 1996-05-17 19:31:46 +00:00
chuck 1bd98e4d83 bugcrt from Dale Rahn. With modifications from myself and Theo de Raadt. 1996-05-17 19:26:43 +00:00
cgd eda3fcd053 fix declaration of main() 1996-05-17 18:29:41 +00:00
abrown d9277a9036 Add Sun4m power0 power status/control register to GENERIC configuration 1996-05-17 18:02:56 +00:00
phil 04241dc8eb Add _kernel_text. 1996-05-17 16:38:24 +00:00
thorpej 03fc26050d Put the vector table _after_ the temp stack. 1996-05-17 16:32:28 +00:00
mark d7ef096470 Probe for both Atomwide and ANT ether3 podules. 1996-05-17 16:24:03 +00:00
mark 8a9255ea4b Recognise ANT ether3 podules. 1996-05-17 16:17:21 +00:00
thorpej 503413590e Changes for the new delay() function. 1996-05-17 15:38:08 +00:00
thorpej 91cb72e7ea remove the now unused MHz constants, add a declaration for vectab[],
and document some globals.
1996-05-17 15:37:07 +00:00
thorpej a5d6cd3a32 Move the vector table to the data segment. 1996-05-17 15:33:52 +00:00
thorpej d845719070 Add a new function, hp300_calibrate_delay(), which sets the delay constant
based on a model's known CPU speed.  cpuspeed value is now in MHz
instead of (MHz / 8).
1996-05-17 15:32:26 +00:00
thorpej 33e1caaf99 Couple of changes:
- New delay() function, modeled after sun3/mvme68k delay,
	  calibrated with a model's known cpu speed.
	- Use the defined constants for machineid and ectype
	  when determining what kind of machine we have, rather
	  than their expanded equivalents, for clarity.
	- Move the vector table to the data segment so that it
	  can be patched at run-time.
1996-05-17 15:27:26 +00:00
thorpej bbc04e2011 Define the machineid and ectype constants. 1996-05-17 15:20:55 +00:00
thorpej b20981c51d Remove cpuspeed from here. 1996-05-17 15:19:02 +00:00
thorpej 3ad552e74b Adjust for new DELAY() ... s/DELAY(1)/DELAY(5)/ and lengthen some
timeouts.
1996-05-17 15:15:29 +00:00
thorpej c3fc839395 Change "DELAY(1)" to "DELAY(5)". This is basically equivalent to how
the old implementation of DELAY() behaved with small values.
1996-05-17 15:12:30 +00:00
thorpej f708ced3a3 Adjust for the new values of cpuspeed. 1996-05-17 15:09:39 +00:00
thorpej be71c11843 Add 2 missing ";"s ... they weren't noticed before because of the
old implementation of DELAY().
1996-05-17 15:08:13 +00:00
is 0ffd802ca1 Make "options DRACO" kernels boot on Amiga mainboards, too:
- don't change the _lev2intr and _lev6intr entry points in static code
- set the level 2, 5, 5 and 6 interrupt autovectors from initcpu() on DraCo.
1996-05-17 12:56:49 +00:00
oki 6cab72d789 Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-17 12:22:22 +00:00
mark c2af4f7f17 add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-17 11:00:45 +00:00
chuck 0b05acfe0a add _kernel_text 1996-05-17 04:38:02 +00:00
briggs e9d5ab8b3a Set _kernel_text as recommended by Gordon--set before vector table. 1996-05-17 02:11:47 +00:00
thorpej 7d279a797f Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-16 23:53:10 +00:00
pk 2d2098c11b Check for `configuration parent' differently: compare against "sbus"
rather than "ledma".
1996-05-16 22:57:32 +00:00
cgd 93bc248f7c add 'kernel_text' symbol, for use by kvm_mkdb 1996-05-16 22:54:30 +00:00
pk b9f70e90d8 Add `flags' to the esp entries: disable disconnect & synch negotiation
by default until further notice.
1996-05-16 22:47:47 +00:00
pk e509f9aaeb Change attributes of `dma', `espdma' and `ledma' (the attributes on the latter
two didn't seem to make much sense anyway..) to allow `esp' devices to be
attached to one of `sbus', `dma' and `espdma'.

Remove the wildcarded `espdma?' and `ledma?' attachments of `esp' and `le'
respectively, in favour of `dma?' and `lebuffer?' (but the latter is not
yet implemented), which seems to better match reality: additional SBus
SCSI/Lance boards call themselves `dma' and `lebuffer'.
1996-05-16 22:38:04 +00:00
pk 3f1283a92f Re-arrange code that looks for the esp driver to allow for the fact that
any "dma" device (i.e. not just "espdma") can have an OBP child. This is
the case with (at least some) SBus SCSI boards.
1996-05-16 21:45:35 +00:00
pk 50e92fd71d Use configuration file flags to disable reselection and/or sync negotiation,
on a per target basis (until the driver can sort things out on its own).

Test against "sbus" in stead of "espdma" to find out where in the
configuration tree we are: an esp can be the child of a "dma" on SBus
add-on boards.
1996-05-16 20:31:28 +00:00
is 16465b6509 merge. 1996-05-16 20:18:01 +00:00
leo c4b5129d5d Add edahdi to the subdirs. 1996-05-16 20:03:53 +00:00
leo 9e086936f3 Remove files commited in the wrong directory. Sorry. 1996-05-16 20:02:33 +00:00
leo 15f7f8dcfd edahdi, an AHDI partition-id editor 1996-05-16 19:51:25 +00:00
mark 4a03434386 Increased delay time while waiting for acknowledgement following the
sending of a keyboard reset code. This fixes a problem on some machine
where the reset code ends is a long loop continually trying to reset the
keyboard.
1996-05-16 19:32:25 +00:00
pk 0b59ea6fbd Replace a couple of (*foo_p)()'s with direct calls. All instances occurred
within in functions that were already mmu-arch specific.

Some formatting nits.
1996-05-16 19:19:33 +00:00
mark 525cc1eebc Fixed the printing of the podule description from the chunk directory
for unrecognised podules.
1996-05-16 19:05:35 +00:00
thorpej a9bd225c1c Remove duplicate definitions of the "le" device .. "oops" 1996-05-16 19:00:06 +00:00
mark 0d476cb7d0 bus memory and I/O space access functions/macros, to be used by
machine-independent code for more sane access to bus resources.
Defines:
        bus_{io,mem}_{map,unmap}
        bus_{io,mem}_{read,write}_{1,2,4,8}
        bus_io_{read,write}_multi_{1,2,4,8}
functions, and several types to go with them.
Note: The bus_io_*_8 functions are not supported.
1996-05-16 18:08:40 +00:00
chuck 7e8ebd0628 add code so that we can generate a valid disklabel without help from
wrtvid.
1996-05-16 17:59:57 +00:00
chuck 0f68df580b import Theo's prom.h from OpenBSD. includes my recent changes. 1996-05-16 17:55:54 +00:00
chuck 6c21c38077 add some comments to explain what is going on here
also add enough info to enable the kernel to create
a valid disklabel without help from wrtvid.
1996-05-16 17:52:51 +00:00
is d0bd068b17 cleanup comment. 1996-05-16 17:52:22 +00:00
is ee807dac4c Correct a -Wall correction. 1996-05-16 17:50:25 +00:00
mark f38ec079c3 Removed definitions of mouse buttons. These should be obtained from
iomd.h and do not need to be duplicated here.
1996-05-16 17:45:10 +00:00
is eced298a2b - tell new version of assembler to still accept 851/030 opcodes when compiling
with -m68060
- add -Wall -Wstrict-prototypes
1996-05-16 17:07:08 +00:00
is d3ad3efef5 3 more constants for 68060 access error trap stack frames. 1996-05-16 16:51:30 +00:00
is 9546c59d96 Only declare setconf() #ifdef GENERIC. 1996-05-16 16:10:11 +00:00
oki a104ff9340 spl0 prototype. 1996-05-16 16:03:35 +00:00
is d5793c310d add DCIA prototype. 1996-05-16 16:02:15 +00:00
oki 347edbdf91 fixed gcc -Wall warning. 1996-05-16 15:57:32 +00:00
abrown 4bbf23d04c Copyright police (s/Harvard University/Harvard College/). 1996-05-16 15:56:54 +00:00
is 5b2b46b306 Fix for unused var warnings in compiler problem workaround. 1996-05-16 15:53:02 +00:00
is 3b8b982891 Naive translation of text to assembler had caused some assembler syntax
errors. Fixed them. Thanks to Bernd Ernesti for the early report.
1996-05-16 15:37:49 +00:00
abrown fe454d89f3 Implement a hack to give pmap a better chance of working on SS10's with
no external L2 cache.
XXX this is ugly and will go away when cpu_softc gets done for the 1.3 release

Also, copyright police (s/Harvard University/Harvard College/).
1996-05-16 14:30:54 +00:00
thorpej 81ba0732e0 Document the "flags" for the si and sw controllers. While I'm here,
do some re-arrangement (cleanup), and document which devices exist on
which machines, so that people can be better informed when they trim
down their kernels.  There are a LOT of comments in this file now!
1996-05-16 03:13:27 +00:00
thorpej 81b0485bfe These haven't been kept up to date. 1996-05-15 23:57:50 +00:00
thorpej 5179f14567 This hasn't been kept up to date. 1996-05-15 23:52:44 +00:00
thorpej 31526bc8e8 These haven't been kept up to date... 1996-05-15 23:50:30 +00:00
is 8fea0bb1e5 fix typo 1996-05-15 21:16:44 +00:00
is 317ba427c1 Now that we imported the 68060 software support package and committed the
glue code for it, activate this again.
1996-05-15 21:10:57 +00:00
is 89e428b280 Initial commit of the machine independend part of the glue code for
the 68060 software support package.
1996-05-15 21:06:18 +00:00
is 0a68161069 RCS ID police 1996-05-15 19:47:31 +00:00
is 508069c020 Initial import of the Motorola M68060 Software Package Production
Release, revision P1.01.
1996-05-15 18:17:45 +00:00
oki 34a55c3e59 fixed gcc -Wall warning. 1996-05-15 16:12:48 +00:00
leo 4001987d06 Make a BOOTX(tra) config file. It suits more people than BOOT and it allows
me to keep the BOOT config small.
1996-05-15 12:57:32 +00:00
leo b4ca145026 Get in sync with the mac68k version of the 5380 driver. Also increase
the maximum values of wait_req_xx() functions so some old (slow) scsi-1 drives
will work.
1996-05-15 09:21:29 +00:00
leo b0db2f6250 French keyboard map (Cedric Moreau). 1996-05-15 09:15:14 +00:00
leo be7b319e1b Fix "might be used uninitialized" warnings. 1996-05-15 07:31:55 +00:00
leo dd8fd30935 Prototype + -Wall fixes. 1996-05-15 07:28:51 +00:00
briggs df57030b9c Add register use constraints to a bunch of asm() statements. 1996-05-15 03:23:10 +00:00
briggs 1350f9fb7d print the failure if we do not correctly determine the amount of RAM
on the ethernet card.
1996-05-15 03:20:22 +00:00
briggs 65b1980d5a Invalidate the pte for the peeked va in bus_peek(). 1996-05-15 02:51:00 +00:00
briggs 22637072e3 Set mac68k_vidphys outside of get_mapping() so the II and others will
get the default value correctly.
1996-05-15 02:34:33 +00:00
mrg 9ad87ec76e remove some RCS id's we don't need. 1996-05-15 02:13:39 +00:00
mrg 16b514adc6 KNF some debug statements. 1996-05-14 13:57:29 +00:00
leo 5f0e599c40 Remove a line of debugging code. 1996-05-14 10:25:01 +00:00
leo de6b7f34fc Make dk_establish() a void function. 1996-05-14 10:23:29 +00:00
leo c1381aa33f Document some more interesting options. 1996-05-14 10:21:48 +00:00
leo 1dd829a703 Update to make this work correctly when using an obj-directory. 1996-05-14 10:16:13 +00:00
briggs df2dde6eb0 Some updates from Bob Nestor <rnestor@metronet.com> to get the Performa 550
working again.  I broke it when I moved the ROM mapping so it was no
longer mapped on a friendly address boundary.  Some cleanup.
1996-05-14 04:00:48 +00:00
briggs ce096d50d5 Add a short comment. 1996-05-14 03:57:32 +00:00
thorpej ebafcd57c2 Remove some comments in eeprom_uio() now that they're no longer relevant.
Add some whitespace to eeprom_take().
1996-05-13 21:39:53 +00:00
mycroft b3d8a261b9 Make imask[] larger, to match other changes. 1996-05-13 06:11:28 +00:00
thorpej 1a79065f9f Enable DMA by default on the 4/100 "sw" controller; the DMA bugs appear
to have been fixed.
1996-05-13 01:53:45 +00:00
mycroft 635c72115c Add multiple-inclusion protection. 1996-05-13 01:35:06 +00:00
mycroft 417bb90896 Move spl*() and soft interrupt definitions into intr.h. For now, include it
from psl.h.  XXX Will change after release.
1996-05-13 01:28:01 +00:00
mycroft db4ceee7f8 Remove the PCVT_SLOW_INTERRUPT option. It is required. 1996-05-12 23:33:32 +00:00
mycroft f7624a5fd1 Use intr.h. 1996-05-12 23:24:47 +00:00
mycroft eda98d375d Use intr.h. 1996-05-12 23:11:54 +00:00
mycroft a8e2ce97e4 Implement IPL_HIGH. 1996-05-12 23:06:06 +00:00
mycroft 9f8f77f8f6 Move IPL_* and IST_* constants into intr.h. 1996-05-12 22:52:23 +00:00
mark cf31abcc16 Minor changes to the configuration of some devices. 1996-05-12 21:54:37 +00:00
mark b7105daa51 Updated boot0() to leave the processor in 32 bit data/address space mode
when jumping back into the ROM at 0x00000000.
1996-05-12 21:54:05 +00:00
mark db208e96e3 Addition of configuration file for RC7500 development board. 1996-05-12 21:49:01 +00:00
mark 169f7f2a06 Fixed the vt220 printing bug.
Fixed the 'loss of console output while X is switched in' bug.
1996-05-12 21:42:44 +00:00
mark 8a3097c984 Fixed panic strings with %i in them where it should have been %s. 1996-05-12 21:40:21 +00:00
mark 6ad1b0f567 Added the es ethernet driver. 1996-05-12 21:37:47 +00:00
mark 95ee0f849a Initial commit of the SMC91C9X ethernet driver found on RC7500
motherboards.
1996-05-12 21:35:07 +00:00
mark 05ae98d7ed Fixed the order of the machine includes. 1996-05-12 21:33:18 +00:00
mark 0efacab0e1 Removed some lurking experimental code that does not work relating
to CDROM devices.
1996-05-12 21:30:15 +00:00
mark 267415c841 Define FLT_ROUNDS properly. Guard #defines with #ifndef / #endif 1996-05-12 21:27:52 +00:00
mark 62b52adc0e Definitions of various contants and types for arm32 IEEE float point. 1996-05-12 21:26:20 +00:00
oki afed73e5a8 fixed for gcc -Wall warning. 1996-05-12 20:49:57 +00:00
oki 611a9dc5c7 x68k mouse has no hardware flow control. 1996-05-12 20:46:33 +00:00
thorpej 645664c6f1 In bus_mem_unmap(), pass kernel_map to kmem_free(), rather than
kmem_map (the VA space is allocated from kernel_map).

In both bus_mem_map() and bus_mem_unmap(), adjust some arithmetic to
avoid wasting a page of VA space per call to bus_mem_map().
1996-05-12 19:02:19 +00:00
thorpej e64215c6f4 Oops, I accidentally commented out the "le" attach directive. Thanks,
veego!
1996-05-12 16:17:19 +00:00
is 2a8a23a622 Disable .include of arch/m68k/060sp/Makefile.inc for now. 1996-05-12 13:36:02 +00:00
mhitch 70b7922d41 Use new format for dumpfile and include chip memory in dump.
Fix another -Wall warning (from '060 integration).
1996-05-12 04:10:15 +00:00
mhitch 8afe5318ba Used by the new libkvm and kernel coredump. 1996-05-12 02:47:46 +00:00
mhitch b3186217c2 Use dumpconf() to set dumplo instead of directly setting it. 1996-05-12 02:41:00 +00:00
mhitch 177ffe3ea4 Fix yet another -Wall warning. 1996-05-12 02:38:23 +00:00
mhitch caf4c8f158 Remove old-style disk instrumentation now that iostat, systat, and
vmstat are fixed.
1996-05-12 02:26:03 +00:00
thorpej ea8aad3319 Use <machine/bus.h> ... on the right track to making this an MI driver. 1996-05-12 01:37:02 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
briggs 468b8f30c6 Get rid of the NuBus Superspace kludge--it should no longer be necessary
or even desirable.
1996-05-10 20:53:31 +00:00
is d6ea9eae71 Cleanup the mess I left when committing yestereve's changes; in this case,
an unused variable.
1996-05-10 15:36:05 +00:00
is e138ae4f38 Clean up the mess I left over from my yestereve's commit: partially unused
variables left over from color background debugging, partially wrong #ifdefs
making some variables unused in non-M68060 kernels.
1996-05-10 14:30:53 +00:00
is 93b32419b8 Back out last change, which was caused by a wrong way merge at home.
Sorry for the inconvenience.
1996-05-10 13:02:33 +00:00
mhitch 82b89f1181 Finally convert the pv_entry allocation to match the hp300 pmap.c.
This should reduce the possibility of a panic when unable to allocate
a new pv_entry under low memory conditions.
Changed a couple of kmem_free() calls to kmem_free_wakeup() as in the
hp300 pmap.c.
-Wall cleanup: unused variable when M68060 not defined.
1996-05-10 01:47:45 +00:00
cgd 3393d0e53b a few more minor ecoff-header-related tweaks. 1996-05-10 00:15:04 +00:00
cgd 56017a3c1e update to include <sys/exec_ecoff.h>, rather than the alpha-specific
(and redundant) coff.h file (which has now been removed).
1996-05-09 23:54:07 +00:00
cgd 491ab6c2ed remove redundant header, now that ECOFF_SEGMENT_ALIGNMENT macro for
<sys/exec_ecoff.h> is fixed.
1996-05-09 23:52:19 +00:00
cgd d5b0482bb9 update for changed ecoff headers. minor consistency changes for the
ecoff functions, as well.
1996-05-09 23:48:47 +00:00
cgd 2daf9d8f3b change structure member names to be in line with what various ECOFF
documentation I have calls them, and update for new definitions in
sys/exec_ecoff.h.  Also, fix ECOFF_SEGMENT_ALIGNMENT macro so that it
actually returns the right alignment.
1996-05-09 23:47:25 +00:00
cgd b10c43013d change structure member names to be in line with what various ECOFF
documentation I have calls them, and update for new definitions in
sys/exec_ecoff.h.
1996-05-09 23:46:18 +00:00
scottr 6bd0d2c7eb Prototyping-related changes I missed the last time, from Thorsten
Frueauf.  Closes PR 2378.
1996-05-09 21:26:08 +00:00
scottr a7b314774d doboot() takes no arguments (from Thorsten Frueauf) 1996-05-09 21:17:04 +00:00
thorpej dedd4cceab Fix typo, noticed by Curt Sampson <curt@portal.ca>. 1996-05-09 21:15:47 +00:00
thorpej 2de85463e2 Correct typos, PR #2382. 1996-05-09 21:11:47 +00:00
chuck 3482bd961d shift code a bit to move "start" to the front of .text [using openbsd ordering] 1996-05-09 21:09:14 +00:00
is f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +00:00
oki 4781b7d291 binary file. (PR#2383) 1996-05-09 16:11:56 +00:00
mark 8eddcbfbd2 Added needs-flag to the podulebus driver.
Tidied up the file a bit and added some extra comments.
1996-05-09 14:03:18 +00:00
jtc 0edf3579f4 Revert last change.
Changing types from unsigned {long,short} to u_int{32,16}_t causes problems
in a lot of userlevel code because those types aren't defined when machine/
endian.h is included.  And IMO including sys/types.h in machine/endian.h
is clearly wrong.

XPG4.2 defines new types in_addr_t and in_port_t for the {h,n}to{n,h}{l,s}
functions.  But we don't have time to figure out the implementation issues
given the current release schedule.
1996-05-08 20:00:38 +00:00
scottr 5b680d94ba Make this compile if DEBUG is defined. 1996-05-08 15:14:53 +00:00
scottr e93e429cc5 Note that rtclock_intr() could be tweaked, but why it isn't. 1996-05-08 15:13:22 +00:00
briggs 8321085213 Minor fix to last patch--from Taras. 1996-05-08 13:36:41 +00:00
thorpej fe4b70fd58 RCS id police. 1996-05-08 05:55:04 +00:00
briggs 2b2cd22c69 Minor update from Taras Ivanenko <ivanenko@ctpa03.mit.edu>. 1996-05-08 04:00:44 +00:00
scottr 99e86ac209 Remove some gross hacks that were added due to interrupt grossness that
has been partially fixed.  Also, add a new flag (which rearranges them
a bit, unfortunately) to use PDMA for polled transfers.
1996-05-08 03:44:56 +00:00
chuck a6ac580ad1 don't assume MAXPARTITIONS is 16. 1996-05-08 01:45:46 +00:00
briggs bfd10277d3 Wrap rtclock_intr in splclock()/splx() to make sure that hardclock is running
at splclock.  Passed along from Gordon via Scott.
1996-05-08 01:08:48 +00:00
briggs bcdf813a97 Initial cut at some ROM entry points for the MacTV. 1996-05-08 01:06:31 +00:00
thorpej d8c7327dd3 Fix typo. 1996-05-08 00:15:48 +00:00
chuck 3b6dd2f647 change maxpart to 8 to be compat with prev binaries 1996-05-07 23:23:34 +00:00
briggs 40454f9798 A MacTV owner says that the MacTV is a repackaged Performa 550. Note this. 1996-05-07 21:21:11 +00:00
mark 779d7709c5 Separated mouse initialisation code out into a separate function.
Added a watchdog timer to reset to reinitialise the mouse if it dies.
1996-05-07 21:04:08 +00:00
mark 09aabb30f7 Merged in changes from the isa wd driver. 1996-05-07 21:00:09 +00:00
scottr 652b291390 - Rewrite scrollup(), scrolldown(), and clear_screen() to move/clear only
visible screen memory.  This results in a considerable performance win
  at all depths.
- Correct clear_screen() behavior when clearing to the top and bottom of
  screen; start at current cursor position, not current cursor row.
- Add local prototypes, and other KNF.
1996-05-07 15:52:19 +00:00
briggs 38b11e7c82 Get rid of some old, now meaningless macros. 1996-05-07 03:13:40 +00:00
briggs 8ed57c561e Clean up an error printf() and use proper macro. 1996-05-07 03:12:12 +00:00
thorpej 42cbc82043 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:35:07 +00:00
briggs f56c26b14e No mac has a VAC. 1996-05-07 01:45:22 +00:00
thorpej 69351e2be6 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:35:48 +00:00
thorpej 0584bf86a8 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:32:31 +00:00
thorpej eadc4bd43f Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:30:18 +00:00
thorpej ac9df157aa Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:28:28 +00:00
thorpej ae87feee24 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:27:26 +00:00
thorpej 0e0d4f1ec2 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:24:48 +00:00
thorpej c3c4b6f9f3 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:23:31 +00:00
thorpej b97689cdfb Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 01:16:36 +00:00
thorpej ccc18dd2ae Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:12:53 +00:00
thorpej 2dea8dc101 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:10:53 +00:00
thorpej 6de4db6bbc Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:08:15 +00:00
thorpej 3fd8e58e67 Add the DEC DEFPA FDDI interface to the catch-all kernel configs. 1996-05-07 00:59:53 +00:00
thorpej a331638311 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:58:36 +00:00
thorpej 7ebfa3c7fc Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:57:58 +00:00
thorpej 090191b3aa Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:56:51 +00:00
thorpej 748810b06d Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:46:37 +00:00
thorpej 17033bca9c Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:35:07 +00:00
thorpej c98492db67 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:34:17 +00:00
thorpej fe64460341 *** empty log message *** 1996-05-07 00:33:35 +00:00
briggs af19dd53a3 This code has not been used in ages and there are at least 2 better 5380
drivers in the tree, now.
1996-05-06 22:34:09 +00:00
briggs 1d8ac2ad92 Update to something closer to the atari port. 1996-05-06 22:26:26 +00:00
gwr 0f9ef81648 Fix "prototype disagrees about inline" error. 1996-05-06 20:05:24 +00:00
scottr aef8f5c3bb Update for renamed sbc driver files 1996-05-06 06:40:03 +00:00
scottr c846476845 Update several comments. 1996-05-06 06:19:33 +00:00
briggs 18021dad20 Move grf0 at obio? from std.mac68k to the config files. Not all machine
have internal video.
1996-05-06 03:33:06 +00:00
briggs 03a7fd15ca grf0 -> grf* 1996-05-06 03:32:33 +00:00
briggs 314dd5b20b Set sc_slot--we need it later. 1996-05-06 03:27:20 +00:00
briggs 6026c5dfd7 Ooops. Remove debugging printf(). 1996-05-06 03:27:06 +00:00
briggs 042a16abd0 Add 1 page slop to the video length. Only reset mac68k_vidlog if non-zero. 1996-05-06 03:25:40 +00:00
briggs db495102be Do not depend on the nubus being mapped in one huge segment. 1996-05-06 01:08:24 +00:00
briggs 1b475d6b74 Do not print out the nubus ranges. We only use them for finding wierd
internal video locations.  Perhaps we can get rid of that in the future,
too.
1996-05-06 01:06:57 +00:00
briggs 333d8a1deb Do not allocate NuBus space at boot time. Do allocate enough space for
the console video, though.
1996-05-06 01:04:58 +00:00
mark f194862b11 Updated declaration of dk_establish() to match prototype. 1996-05-06 00:57:10 +00:00
mark 928d9a1842 Fixed compiler warnings generated with -Wall. 1996-05-06 00:52:35 +00:00
mark dbf4689e65 Fixed -Wall compiler warnings.
Implemented ESC [g sequence.
1996-05-06 00:47:20 +00:00
mark 2dd637939f Fixed VIDC register setup for RC7500 boards. 1996-05-06 00:45:09 +00:00
mark 3f91443b0b Added __noreturn__ attribute to boot0(). 1996-05-06 00:41:55 +00:00
mark 5b6948449b Commented out the vm_map_remove from cpu_exit() as this appears to be
done in the exit1() function in kern_exit.c
1996-05-06 00:41:32 +00:00
mark 6417430844 Fixed -Wall compiler warnings. 1996-05-06 00:37:13 +00:00
mark d0e2e6de12 Don't try and idle a ARM7500 if targeting a RC7500 board as power
down is not yet supported.
1996-05-06 00:36:05 +00:00
mark c41bdbf690 Added a new routine kbdcmd() to send commands to the keyboard.
Added a new routine kbdreset() to conduct a full keyboard reset.
Added definitions of all keyboard command codes and responces.
Replaced kbd_set_leds() with new function that used kbdcmd().
The keyboard attach function now detects whether a keyboard is
attached or not.
1996-05-06 00:35:05 +00:00
mark f5b3a4ddc7 Only call config_rootfound() for the podulebus is NPODULEBUS > 0. 1996-05-06 00:32:19 +00:00
mark 938954d516 Mark interrupt handlers attached to the irq chain as active in
irq_claim().
Clear the active flag in the irq handler when it is removed from the irq
chain in irq_release().
Checks for podule IRQ's in irq_claim() are now guarded with
#if NPODULEBUS > 0
fiq_release() now retrieves the FIQ more registers and places them
back in the fiq handler structure.
1996-05-06 00:30:39 +00:00
mark 181c7ad5cd Added a new function fiq_getregs() to transfer the FIQ mode register
into a fiqhandler structure.
Updated fiq_setregs to use symbols in assym.h for offsets into
fiqhandler structures.
1996-05-06 00:25:43 +00:00
mark 60b2501141 Updated FIQ handler registers to match changes to the floppy
fiq routines.
1996-05-06 00:23:57 +00:00
mark 08003631cc Rewritten floppy_read_fiq() and floppy_write_fiq() routines.
Register usage changed to free fiq mode r13.
Added loop to keep reading bytes while the floppy FIQ is asserted.
1996-05-06 00:21:05 +00:00
mark 4f7f1b7f73 Create definitions for fiqhandler structure members. 1996-05-06 00:16:25 +00:00
mark 58ff5333d7 Fixed -Wall compiler warnings. 1996-05-06 00:11:16 +00:00
mark 8f285e6977 Added prototype for sfasintr(). 1996-05-06 00:09:28 +00:00
mark 81e79a0787 Recognise the 24i16 digitiser podule.
Fixed -Wall compiler warnings.
1996-05-06 00:04:06 +00:00
veego 1e69d1d283 Make this compile. Fixes PR#2047 1996-05-05 22:25:00 +00:00
christos cd2b07ab7c We have our own prototype now for fillw() 1996-05-05 22:20:51 +00:00
christos 079631f59d Remove unneeded casts to fillw() since now it takes a void * argument. 1996-05-05 19:48:15 +00:00
christos db7563a62d Fix gcc -Wall warnings 1996-05-05 19:46:15 +00:00
christos f8f10e569e Make this compile again.
- use the abs function from libkern
- fix prototypes
1996-05-05 19:31:25 +00:00
christos 59fdcbc7ad Change the prototype of fillw from (int, caddr_t, size_t) to
(short, void *, size_t).
1996-05-05 19:29:26 +00:00
christos 573f5e0cd6 Add the joystick 1996-05-05 19:28:34 +00:00
briggs edd6e362c8 Pass struct fpframe * to m68881_restore(). 1996-05-05 17:19:04 +00:00
briggs 81db0f78d0 Remove extra prototype. 1996-05-05 16:50:34 +00:00
briggs f4bb6d51b2 Proto for lkmenodev(). 1996-05-05 16:39:24 +00:00
briggs 513a0d293b m68881_restore takes struct fpframe *, not int []. 1996-05-05 16:33:46 +00:00
briggs 2c9ba25cc1 Fix typo in last. 1996-05-05 16:21:20 +00:00
veego ba1ef888e9 removed the define for cdev_ss_init 1996-05-05 16:17:27 +00:00
veego e637bae39d Added an include for the sunos_sendsig prototyp 1996-05-05 16:11:31 +00:00
briggs 30023f7acd MicroSpeed mouse support from Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
Also some updates to actually used #defined constants instead of numeric
constants.
1996-05-05 14:33:55 +00:00
oki 70f5d6ae04 Initial revision 1996-05-05 12:17:14 +00:00
oki 320e7320ef NetBSD/x68k, by Masaru Oki. 1996-05-05 12:17:03 +00:00
briggs 1febcb957e Prototype for sunos_sendsig() is now in sunos.h as suggested by veego. 1996-05-05 12:02:41 +00:00
briggs eb2ad19d6d Include pcb.h for prototypes. 1996-05-05 11:45:41 +00:00
briggs c02d890ef9 Move a few prototypes into machine/cpu.h. 1996-05-05 06:54:09 +00:00
mycroft 62c8d3c70c Fix obvious bug introduced in last change. 1996-05-05 06:50:02 +00:00
briggs aad6e71194 Prototype for sunos_sendsig(). 1996-05-05 06:43:33 +00:00
briggs 37163421a3 Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
gwr 4f0e481bc3 Kernel crash dumps now work on the sun3. (Yea!) 1996-05-05 06:02:23 +00:00
gwr 99d2ff44d8 proto now says void dk_establish() 1996-05-05 06:00:31 +00:00
gwr 3d0b5f42cc Used by the new libkvm 1996-05-05 04:19:31 +00:00
gwr 49d7518e86 Add VA_SEGNUM for libkvm. 1996-05-05 04:18:28 +00:00
thorpej f857b38b11 Don't attempt to map the `delay port' (0x84). It's mapped and exported
by the ISA bus attach code.
1996-05-05 01:41:53 +00:00
pk 0ba8565c86 mountroot: return error code to caller, not -1. 1996-05-04 19:36:01 +00:00
mhitch c871eb1ec2 Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
uses MSDOS MFM track encoding.  From Ezra Story (ezy@panix.com) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch d4339afe48 Startup modified to work with kernel loaded directly into fast memory.
This removes the need to have enough chip memory to load the kernel
when booting.  Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed.  Chip memory is still required for the /dev/reload
process.
1996-05-04 04:45:18 +00:00
mhitch 0f07d81f63 Add floppy index interrupt processing.
Startup modified to work with kernel loaded directly into fast memory.
This removes the need to have enough chip memory to load the kernel
when booting.  Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed.  Chip memory is still required for the /dev/reload
process.
1996-05-04 04:43:23 +00:00
mhitch 3c4859d5d8 Add support for loading kernel into fastmem, if the kernel also supports
loading into fastmem.  This removes the requirement that the kernel fit
into chipmem.
Add a -Z flag to force loading into chip memory.
Add a -s option for compatibility with my bootblock loader.
Move the test exit to just before starting the kernel;  this lets the
test mode actually load the kernel and do the version checks.
1996-05-04 01:23:37 +00:00
phil 333943186d Small tweeks from Matthias Pfaller. 1996-05-03 23:22:54 +00:00
phil 0b85f48338 Updates from Matthias Pfaller and Ian Dall. 1996-05-03 23:19:26 +00:00
christos 8571e85c28 fix gcc -Wall warnings 1996-05-03 20:16:56 +00:00
christos 3464a4032b Prototype fixes. 1996-05-03 20:11:57 +00:00
christos 5503f7b749 Prototype and gcc -Wall cleanups 1996-05-03 19:41:56 +00:00
christos ffdbd55cb2 savectx comment about altreturn was not true. 1996-05-03 19:41:19 +00:00
christos df8b4512f0 cleanup fdopen->Fdopen and prototypes 1996-05-03 19:40:20 +00:00
christos b927d7be11 Fwd declarations for MD drivers. 1996-05-03 19:34:11 +00:00
christos 8fd0f1f8b3 Add missing prototypes. 1996-05-03 19:26:28 +00:00
christos 391a4ddc7c use u_int32_t instead of unsigned long
and u_int16_t instead of short in the {h,n}to{n,h}{l,s} inline routines
and macros.
1996-05-03 19:25:23 +00:00
christos 0b3580eb25 Comment out unused routines; add prototype for kdb_trap 1996-05-03 19:23:59 +00:00
christos dc3ce37d53 Add prototypes from other files. 1996-05-03 19:22:49 +00:00
christos 1044435088 Avoid unused variable warnings, by using the first argument to the bus
functions.
1996-05-03 19:22:18 +00:00
christos f77d0368e6 - add missing prototypes
- add missing braces in array and struct declarations.
- fix gcc warnings.
1996-05-03 19:17:28 +00:00
christos 099b45aa2a - Add missing prototypes.
- Fix gcc warnings
1996-05-03 19:14:50 +00:00
cgd 7c1754fdff add a bit of clarafication in a comment, and change the interrupt
handling code so that if a given interrupt is disabled (and therefore
can't have caused the actual I/O interrupt), its handler won't be
called even if its bit is set in the interrupt register.
1996-05-02 21:56:46 +00:00
scottr d84817d322 Fix prototypes of cpu_set_kpc() and pagemove(); closes PR 2367. 1996-05-02 20:49:20 +00:00
mhitch 5895a434e4 Missed a prototype for kernel_reload(). 1996-05-02 19:34:27 +00:00
pk 4ac7468812 Various simplifications and corrections from Chuck Cranor (makes `oclock'
calibration work.. thanks!).
1996-05-02 18:17:33 +00:00
pk 504582ba83 Simpler and more accurate delay() function from Chuck Cranor. 1996-05-02 18:15:08 +00:00
mhitch 84974b0849 Add a check in the kernel reload device (/dev/reload) to protect
against the MMU switch code being in different locations between
the running kernel and the new kernel.  Returns ENODEV if the reload
fails.
Change the error return from EFAULT to ENOEXEC when kernel_reload
gets a short write on the exec header.
1996-05-02 02:08:22 +00:00
cgd b97609d17d the kernel config file for my 3000/300LX. 1996-05-01 23:32:45 +00:00
cgd 49c46e1789 Preliminary CFB support. Does not work as machine's console (for two
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap, cursor,
etc.) support.  Digital UNIX does not support CFB frame buffers in the
Alpha, but they appear to work OK (with an appropriate monitor) in my
3000/300.
1996-05-01 23:25:00 +00:00
cgd 1668855fc5 add support for PMAG-B Color Frame Buffer (CFB) option boards. OSF/1
doesn't support these, but they appear to work OK (with an appropriate
monitor) in my 3000/300.
1996-05-01 23:22:16 +00:00
cgd cb0eb158e7 fix the test for option slot interrupts. If a given interrupt is
disabled (and therefore can't have caused the actual I/O interrupt),
don't try to call its handler even if its bit is set in the interrupt
register.
1996-05-01 23:19:50 +00:00
chuck b94c366058 change dk_establish() back to void again. 1996-05-01 21:22:55 +00:00
cgd b65a5bbdfc preliminary SFB support. Does not work as machine's console (for two
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap,
cursor, etc.) support.
1996-05-01 21:15:46 +00:00
cgd a449bdaea1 add sfb at tc, wscons at sfb 1996-05-01 20:33:17 +00:00
cgd 69ecf2f7f4 add the right (raster, wsconsdev) attributes to sfb 1996-05-01 20:26:39 +00:00
cgd 8199dee1d8 add SFB at tc, wcsons at sfb, and fix up le declarations 1996-05-01 20:23:04 +00:00
cgd 85d72d56a2 add an entry for the SFB+, and clean up entries some 1996-05-01 19:44:21 +00:00
mhitch bcb9d27216 More cleanup for -Wall with DEBUG. 1996-05-01 16:58:41 +00:00
mhitch b1d1cbe84b Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch bb91ff2547 Define BSR_MASK and use BSR_MASK to get the current bank select register. 1996-05-01 15:51:08 +00:00
veego b03bb4a6e5 Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
1996-05-01 09:59:24 +00:00
veego 03088f61b8 <sys/cpu.h> is no longer needed 1996-05-01 09:56:22 +00:00
scottr b2af0c2297 Kill unused variables and fix prototypes. 1996-04-30 18:11:38 +00:00
is af547471fe Give example for INSECURE option in the GENERIC config file in a comment.
Closes PR 2355 giving a different explanation of the option than proposed.
1996-04-30 17:40:34 +00:00
is 068f1fb582 We really have two mouse port units, honestly. 1996-04-30 17:25:42 +00:00
scottr b50e8aab63 - Drop SCSI IRQ interrupts if we are already handling one. This works around
a condition that occurs with some slow SCSI devices when they disconnect
  (e.g. the AppleCD 600), generating spurious selection interrupts.
- Reorganize the debugging code slightly.
1996-04-30 17:07:17 +00:00
briggs 9cdce38dd0 Bring back Step9 and fix an oversight from Ken Nakata <kenn@remus.rutgers.edu> 1996-04-30 12:02:54 +00:00
briggs 6d6bfccb69 Clean up a few printf format strings. 1996-04-30 11:57:49 +00:00
briggs 9602c596f5 Prototype oc_cksum(). 1996-04-30 11:57:05 +00:00
briggs 41f393e6b8 Update for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized. 1996-04-30 11:52:09 +00:00
mycroft 7511a5540e Remove BIOSSEG.
Don't mess with the flags when entering a software interrupt.
Use IF, not VIF.
NOTE: These changes break dosemu, but are required for proper emulation.
1996-04-30 10:35:25 +00:00
mhitch bcd490a50d Remove include of sys/cpu.h. 1996-04-30 06:09:51 +00:00
mhitch 1f2555ebd4 dk_establish() now returns void. 1996-04-30 05:00:51 +00:00
thorpej 3fff2a8f83 Fix apparent paste-o ... spurious "}" 1996-04-30 00:56:45 +00:00
scottr 5e7380a531 Remove trash left from a merge (probably really my fault). 1996-04-29 21:36:17 +00:00
pk fa75ea39e1 Move delay() to locore, so we control code generation and can avoid
touching memory locations whose caching disposition can perturb timings.
1996-04-29 21:08:37 +00:00
leo b926918576 There seem to be 2 types for a trap frame.... 1996-04-29 20:55:44 +00:00
leo dc05f2d48c Prototype + -Wall fixes. 1996-04-29 20:50:08 +00:00
cgd 4335844690 fix botched printf spacing in last change. 1996-04-29 16:36:19 +00:00
cgd 6deeeb8a0f update for dk_establish() proto change 1996-04-29 16:34:50 +00:00
cgd b2ab71db24 fix definition of the "Primary Eligible" RPB PCS processor variation field. 1996-04-29 16:23:09 +00:00
cgd 5e0ec7280a clear BIP; it should really happen at end of autoconfiguration. 1996-04-29 16:09:28 +00:00
cgd f22c1ccb83 clean up setting of the default tty cflag. don't do the "delay if
high bit set" thing.
1996-04-29 14:48:25 +00:00
pk e147a74bbb Chip needs much more time to think things over (up to 2 seconds to complete
a `recalibrate' command if no flop present).
1996-04-29 12:07:32 +00:00
mhitch 74de027054 Add floppy index interrupt routine for future MSDOS floppy support.
Don't seek to track 0 before checking for diskchange:  if drive steps,
the diskchange flag is cleared.  Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +00:00
mhitch d6d4fbe664 Correct NetBSD->RDB partition block mapping - fixes -Wall warning. 1996-04-29 06:15:32 +00:00
thorpej dc5ff52131 dk_establish() returns void. 1996-04-28 20:25:59 +00:00
briggs 340e30dfbb shuffle some and change rd to pseudo-device. 1996-04-28 19:18:42 +00:00
mhitch 03c347c3bd More cleanup for -Wall warnings. 1996-04-28 07:01:08 +00:00
mhitch 0f666b973a More cleanup of -Wall warnings when compiled with DEBUG. 1996-04-28 06:59:08 +00:00
mhitch 810a98153e Add prototypes for serial and floppy interrupt functions. 1996-04-28 06:57:15 +00:00
mhitch c3fa50adb7 Fix warning from word transfer pseudo-dma function. 1996-04-28 06:49:35 +00:00
mhitch d48db213fa Prototype the pseudo-dma function declarations. 1996-04-28 06:41:01 +00:00
mhitch f7679aaef1 Fix warning from -Wall. 1996-04-28 06:36:16 +00:00
mhitch 2b6ece67ba Fix warnings from -Wall. 1996-04-28 06:33:58 +00:00
mhitch 5b9b315985 Cleanup for -Wall if CL5426CONSOLE is not defined. 1996-04-28 06:31:47 +00:00
mhitch 0fa2771b31 Correct check for NULL pointer references in siop_scsidone().
Only call Debugger() if DDB is defined.
If the wait for reselect is interrupted and sc_nexus was NULL, only
print the debug message if DEBUG is defined.
1996-04-28 06:28:24 +00:00
veego 2c2a65b39e Add a __noreturn__ attribute for doboot 1996-04-27 20:55:08 +00:00
veego c12ef8ae8f Make the compiler happy if you make a kernel with -Wall 1996-04-27 20:53:31 +00:00
veego dccff2509f Fixed a compile bug which come from the new mouse driver
Remove the fd* entry from the GENERIC config and changed the std.amiga
entry for the floppy
1996-04-27 20:51:07 +00:00
veego 0b892f0599 Fixed a compile bug which come from the new mouse driver
Fixed a bug with the noreturn attribute of boot and doboot
1996-04-27 20:48:47 +00:00
mark c4f10ac478 Fixed cpu_set_kpc() and pagemove() functions to match prototypes. 1996-04-27 03:00:27 +00:00
mark 10ec66cba0 No longer needed as this file has been replaced with the generic mouse
interface described in mouse.h
1996-04-27 02:09:16 +00:00
mark 0b44bb02a0 Removed prototypes for cpu_set_kpc(), cpu_swapin() and cpu_swapout() as
these are now defined in other header files.
1996-04-27 02:04:39 +00:00
thorpej 270d48fd22 Add "void" return type to consinit(). 1996-04-27 00:39:59 +00:00
thorpej 8591bb3346 Prototype doboot() and give it the __noreturn__ attribute, so that
machdep.c will compile.
1996-04-27 00:38:44 +00:00
mark f09d86fa87 Fixed compiler warnings generated with -Wall.
Added dump routines for dumping buffer and vnode information.
1996-04-26 22:49:21 +00:00
mark 0a05345dc3 Added needs-flag for the asc driver. 1996-04-26 22:46:07 +00:00
mark 6e054ed22f Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Moved the probing code that used the softc into the attach function.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:44:00 +00:00
mark fff1823ed8 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
1996-04-26 22:41:24 +00:00
mark 9a12d19953 Probe functions rewritten to support new podulebus configuration code.
matchpodule() is now used to test podule_attach_args for correct id's.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:38:11 +00:00
mark 4a3ceede5a Added function prototype for matchpodule(). 1996-04-26 22:34:02 +00:00
mark c18452b410 podulebus configuration code rewritten. Junked config_scan() from
the podulebus attach function.
For each podule found, config_found_sm() is now called. Device drivers
now only need to look at the podule_attach_args information during
the probe.
A new function matchpodule() has been added for use in the
podule device driver probe functions.
1996-04-26 22:32:36 +00:00
mark 027b04a250 Fixed compiler warnings obtained with -Wall. 1996-04-26 22:25:56 +00:00
mark a6da4ae69c Fixed compiler warnings generated with -Wall. 1996-04-26 22:01:51 +00:00
mark 504699a05d Added prototypes for cpu_swapin(), cpu_swapout(), tlbflush()
cpu_set_kpc() and need_resched().
1996-04-26 21:12:36 +00:00
mark 38b0e06483 Added prototypes for setsoftnet() setsoftast() and setsoftclock(). 1996-04-26 21:10:21 +00:00
mark b2d569c95e Fixed compiler warnings generated with -Wall. 1996-04-26 21:02:49 +00:00
mark 6a7f88f956 Included sys/systm.h for function prototypes. 1996-04-26 21:00:31 +00:00
mark aa46efbc0e Fixed compiler warnings obtained with -Wall. 1996-04-26 20:59:07 +00:00
mark 8b4332315d Fixed buffering of console output. While cold or while polling,
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark 189e6aba9f Fixed a multitude of compiler warnings obtained with -Wall (mainly
unused variables).
1996-04-26 20:48:23 +00:00
mark a88f28f958 Updated functions to match prototypes in sys/systm.h 1996-04-26 20:35:23 +00:00
mark 9e67e6e232 Included ddb/db_output.h for db_printf() prototype.
Fixec compiler warnings generated with -Wall.
1996-04-26 20:30:54 +00:00
mark 8cce48f9a3 Included ddb/db_output.h for db_printf() prototype.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:28:28 +00:00
mark 3b62994c10 Include ddb/db_output.h for db_printf prototype.
Replaced some printf calls with db_printf calls.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:25:55 +00:00
mark bebcb9b554 Removed unused variable ptr in swapconf(). 1996-04-26 20:22:52 +00:00
is a0864f1ad0 Remove double empsc entry, fix a typo, and our "zbus" is a unified Zorro
bus interface for a long, long time.
1996-04-26 20:21:59 +00:00
chuck e305bdb71c switched to MI driver 1996-04-26 19:55:39 +00:00
chuck 08b3f74e0d nuke old isr structure (no longer use) 1996-04-26 19:44:03 +00:00
chuck 81fc59565a cpu.h: add prototypes (from jason)
disklabel.h: new disklabel format (from Dale Rahn)
param.h: new delay stuff (from sun3 port)
vmparam.h: nuke eiomap for new autoconfig (from jason)
z8530var.h: for MI driver (from jason)
1996-04-26 19:40:53 +00:00
chuck 46263136cb "jumbo patch":
- new autoconfig scheme+vme (autoconf.c,clock.c,clockreg.h,
	clockvar.h,vm_machdep.c)
 - new interrupt scheme (isr.c,isr.h,locore.s,machdep.c,vectors.s)
 - switch to MI zs driver (conf.c)
 - new disklabel code, from Dale Rahn <drahn@pacific.urbana.mcd.mot.com>
	(disksubr.c, compatable with theo and dale's openbsd version)
 - new delay() based on sun3 port, using dynamic configuration from
	the sparc port (intergrated by me), calibration moved to startup
	by jason.  (locore.s,machdep.c)
 - clean up: nuke eio space (genassym.c,locore.s,pmap.c,pmap_bootstrap.c),
	nuke STACKCHECK (locore.s), prevent maxuser overflow (pmap.c),

Contributed by Jason R. Thorpe <thorpej@og.org>  (thanks!)
1996-04-26 19:26:25 +00:00
chuck 6d3c0d5c50 remove iio files; replaced by jason's new autoconfig scheme 1996-04-26 19:04:28 +00:00
chuck 7625dd4cb4 remove mainbus.c: never actually used 1996-04-26 19:03:28 +00:00
chuck d80422cd46 - zs: switch to MI driver
- clock, le, pcc, wdsc, zs: convert to new autoconfig scheme
 - vme: add vme support

Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:59:58 +00:00
thorpej 34c1e309b6 Yes, folks, there was a REASON that maxusers -> 32 slipped through the
cracks when I mentioned it to Chris.  (Read: it doesn't work.)
1996-04-26 18:54:15 +00:00
chuck ba1034fd85 - sync with new autoconfig code (iio goes away)
- add support for zs1, vme devices (untested)

Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:47:34 +00:00
gwr dd27878e7f Catch up with some prototype changes. 1996-04-26 18:37:58 +00:00
gwr 035d12359e Remove some hacks that "went around" the linesw[] operations. 1996-04-26 18:36:54 +00:00
leo b26b45a14d Corrections for removed <sys/cpu.h> and some more prototypes. 1996-04-26 06:59:15 +00:00
leo 7f0e5ecf77 - Fixup the ipending function for the Falcon. This seemed to be the source
of a lot of instability problems on the Falcon. I also enabled DMA on
  interrupt basis for the Falcon.
- Try to handle targets that request too much data more sanely.
- Some fixups for strict prototypes + -Wall

Thanks to Markus Kilbinger for providing the debugging support.
1996-04-26 06:50:12 +00:00
thorpej 2931555121 Correction I mentioned to Chris that slipped through the cracks...
maxusers -> 32.
1996-04-26 00:53:08 +00:00
scottr eb335437e2 Ooops. ncr_sbcreg.h -> sbcreg.h 1996-04-25 23:47:06 +00:00
scottr 90b5a113d9 Renamed the sbc driver files 1996-04-25 22:30:10 +00:00
scottr aca6a2e6da Renamed these files. 1996-04-25 22:26:52 +00:00
scottr 95101e1310 Renamed these files. 1996-04-25 22:02:58 +00:00
scottr a0bca74134 Remove some now-useless code. 1996-04-25 21:18:04 +00:00
scottr 5282131d76 Add ie1, appropriate for EtherExpress support 1996-04-25 20:14:13 +00:00
thorpej 09407a4201 Document the VM86 option by adding it to the GENERIC* kernel config
files.  Note, the option is disabled by default (comment out).  This
is meant as an example for others.
1996-04-25 18:59:14 +00:00
scottr 18fd76201e We don't need to enforce the MAX_DMA_SIZE limit in dma_alloc();
this is handled properly by sbc_drq_intr() already.
1996-04-25 14:40:26 +00:00
mycroft f1f45fae7c Emulate the INTO instruction. 1996-04-25 13:50:21 +00:00
scottr 2e936aa8ff - Remove several hacks that didn't do much but waste cycles.
- Disable interrupt-driven PDMA when writing (use polled PDMA instead).
- Be more careful about when to flag a transfer as completed.

The result of these changes is that interrupt-driven PDMA works well
enough to bring the system up.
1996-04-25 06:18:41 +00:00
veego f726c602da another prototyp cleanup 1996-04-25 05:57:38 +00:00
cgd 72e70ce045 update for present reality 1996-04-25 04:28:04 +00:00
thorpej aff40e2a72 Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver.  Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
christos b8a3e738c6 Make the minimum function signature for this file to compile with the latest
changes to vm_extern.h.
1996-04-25 01:15:41 +00:00
cgd 3e07e4275a clean up and improve instructions, update to reflect current reality. 1996-04-25 00:11:09 +00:00
scottr 424ce7590a Sync with prototype changes 1996-04-24 18:02:26 +00:00
is 09916f81d3 Make the Amiga mainboard mice, which used to be pseudo-devices, real devices.
(We want to support Amigoids without this interface in the near future.)
1996-04-24 11:41:16 +00:00
veego 463c504dc7 The prototyp for cpu_set_kpc is now in sys/systm.h 1996-04-23 22:54:49 +00:00
veego 112379ef29 Added some ifdef's for RETINA_SPEED_HACK
Argh, why is a fuction from the RetinaZ2 console driver in the console
driver for the RetinaZ3 ? Fixed.
Fixed some warnings from -Wall if you don't use -DDEBUG
1996-04-23 22:53:05 +00:00
veego 1ca9fb10a0 The prototyp of cpu_coredump is now in sys/signalvar.h
Added an ifdef DEBUG for struct phys_segs
1996-04-23 22:46:39 +00:00
pk 646acc51d0 Map the pixels explicitly on the VME32 bus. 1996-04-23 19:34:05 +00:00
pk ee8f3dc1b8 Turn delay() into a calibrated loop. It's more accurate and compiles into
a `leaf' routine, avoiding unexpected large delays by overflowing the
register windows.
1996-04-23 19:25:25 +00:00
is 0536f1591a Protect two critical lines of ser.c with splser(). Without this, a
race condition exists which makes the internal serial drop incoming
characters under heavy load.
1996-04-23 17:03:04 +00:00
is 5b809af42a Changed the speed calculations of the Amiga-builtin-serial driver to
allow any baudrate the hardware allows, and to forbid two baudrates
(50 and 75) which the hardware does NOT support but which the old
speed conversion table pretended to support.
1996-04-23 16:38:32 +00:00
chuck edda199ab0 patch from: Steve Woodford <steve@mctavish.demon.co.uk>
fixes the following problems:
   - Timeout on START/STOP unit command (ie. when spinning up the drive)
     Side effect of this fix is to reduce the busy-wait time in CMD phase.

   - Occasionally, the driver would lose an SBIC interrupt, especially when
     a tape drive was re-selecting on a busy SCSI bus.
1996-04-23 16:32:54 +00:00
cgd 7bc9a18250 prototyping cleanups 1996-04-23 15:26:06 +00:00
cgd 58a104f26a pal_halt doesn't return; give it a noreturn attribute.
Mark assembly that uses 'mb' as clobbering memory (pthreads does, and
it can't hurt).
1996-04-23 15:24:09 +00:00
cgd 5437babf6c prom_halt doesn't return; give it a noreturn attribute 1996-04-23 15:23:18 +00:00
scottr 27c9c12e72 Clean up sbc_drq_intr() a bit; also, be more paranoid about size of transfer. 1996-04-23 14:20:28 +00:00
cgd 59cdf4331e clean up some, and use new sioreg.h 1996-04-23 14:15:55 +00:00
cgd 8253c155fe hanges from Trevor Mendez <tmendez@bbn.com> to use new sioreg.h
header.  Also, I moved the LCA_SIO_DEVICE definition higher up in the
file.
1996-04-23 14:15:28 +00:00
cgd 84da7b5f97 Intel 82378 System I/O (SIO) Chip register defintions, cleaned up a
bit from a version supplied by Trevor Mendez <tmendez@bbn.com>.
1996-04-23 14:10:53 +00:00
cgd e9bbf69ff6 Changes from Trevor Mendez <tmendez@bbn.com> to add definitions of a
couple of registers useful for debugging.
1996-04-23 14:03:46 +00:00
cgd fea5e372e6 Corrections from hardware manual, from Trevor Mendez <tmendez@bbn.com>.
Adds comments and sets IOC_CONF correctly (it's write-only!).
1996-04-23 14:00:53 +00:00
cgd d8adbe4247 Changes from Trevor Mendez <tmendez@bbn.com> to make this compile
with NWSCONS == 0.
1996-04-23 13:57:55 +00:00
cgd 0895b8dd09 Changes from Trevor Mendez <tmendez@bbn.com> to print 0x's before hex
numbers when panic()ing because of a machine check, for sanity.
1996-04-23 13:54:32 +00:00
leo df8c6afda1 Ignore joystick packages when running in 3b. emulation mode. 1996-04-23 11:02:01 +00:00
veego d9b8ec83bd Ups, I removed a label which should go into a ifdef 1996-04-23 05:14:40 +00:00
scottr 509ace1016 Handle internal video interrupts on RBV-based machines differently so
that Ethernet cards have a chance to work.  In particular, this change
has been tested on the IIci, IIsi, and LCIII.  The crucial info behind
this code was the result of a lot of work by Julian Bean.
1996-04-23 03:53:26 +00:00
abrown 6b768c677a Now that we have lehwinit() for the Sun4m, make sure that we wait 20ms
after changing the cable type, as specified in the chip documentation.
Also, sanity-check that sc_dma is valid in case a Sun4m ever exists without
a ledma.
1996-04-22 03:57:29 +00:00
christos 90bc31d478 remove include of <sys/cpu.h> 1996-04-22 02:50:20 +00:00
christos a897ec996a Remove dependency on <sys/cpu.h> 1996-04-22 02:42:00 +00:00
christos bebf990150 Oops the name of the UTP/AUI bit changed under me... 1996-04-22 02:39:49 +00:00
christos 5253b892e9 Add a hardware dependent initialization function lehwinit()
to support selecting UTP media on sun4m
1996-04-22 02:37:10 +00:00
abrown 709298a10a - Changed Sun4m DMA chip support to detect and use maximum available SBus
burst size when transferring data.
- Changed ledma attach code to pay attention to the PROM's notion of what
  cable type is being used. Note that this patch does not fix the problem
  recently discussed on port-sparc; in most cases the PROM doesn't know
  what cable type is being used. The default is now TP rather than AUI,
  though. A complete fix is forthcoming.
1996-04-22 02:34:53 +00:00
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
veego a922ebfb8b - Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:13:16 +00:00
veego 974e9f6e22 - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
veego dbf4b28b74 Added support for multiple floppy drives
Added entry for the emplant scsi driver
1996-04-21 21:09:40 +00:00
veego db6f1b1304 Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:06:46 +00:00
ghudson 585e1044c8 aic0 belongs at IRQ 11 (the card default); the entry was apparently
changed to 12 by mistake when GENERIC was created after NetBSD 1.0.
Change confirmed by Perry and several others.  Fixes PR 1878.
1996-04-21 20:55:25 +00:00
leo 18dd6b0909 Prototypes. 1996-04-19 20:35:31 +00:00
leo f4e4aeed3c Check for curproc being NULL in pmap_remove(). 1996-04-19 20:33:01 +00:00
mark d4d9deb9d7 Added facility to dump the SCSI information from the asc driver. 1996-04-19 20:15:36 +00:00
mark e59df39537 Added asc_dump() function to dump the information gathered by the sbic
driver.
1996-04-19 20:13:56 +00:00
mark 0d0b8de238 Code fixes to get the sbic debugging code to compile. 1996-04-19 20:09:50 +00:00
mark 0e486086a5 Added information of the iic and rtc devices. 1996-04-19 20:04:29 +00:00
mark 7bbb222f40 Raise the spl level to spltty while manipulating the virtual console
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark c771d9f6c3 Config files updated for the new iic and rtc devices. 1996-04-19 20:00:41 +00:00
mark 584d8e9b80 Updated to reflect removal of iic and rtc code from arm32/ and the
creataion of the iic and rtc devices.
1996-04-19 19:57:49 +00:00
mark a65bd66705 Header file for IIC structures, prototypes and ioctls. 1996-04-19 19:52:46 +00:00
mark e51f620a83 Added IIC information for the PCF8583 RTC chip.
Added #ifdef guard on rtc prototypes.
1996-04-19 19:51:48 +00:00
mark 0b22968311 Initial commit of iic and rtc devices. 1996-04-19 19:49:03 +00:00
mark ab4a325e4c The iic and rtc are now devices and have been rewritten ane moved to the
mainbus directory.
1996-04-19 19:43:31 +00:00
mark 11fb5f4ba0 Added configuration information for character devices iic and rtc. 1996-04-19 19:40:29 +00:00
mark 85d47049cc Don't report time or 'clock has gain ...' message if the base time
was 0 in the inittodr() function.
1996-04-19 19:39:17 +00:00
mycroft 901483b57b Sigh. Send a trace trap only if we are still in VM86 mode. 1996-04-18 21:21:11 +00:00
mycroft 15d4e17598 Send a trace trap only if the trace flag is set at the *beginning* of
the emulated instruction.
1996-04-18 20:36:35 +00:00
mycroft 204542255a After an emulated instruction, check the trace flag and force a trace
trap if needed.
1996-04-18 19:58:09 +00:00
chuck 442dec5d53 new driver: SCSI for VME147
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>

	this driver is based on the amiga sbic/33C93 driver.   Steve has
	cleaned it up and fixed lots of bugs.    Note that the original driver
	used features which require at least a WD33C93A (the vme147 has the
	original WD33C93 chip <no 'A' suffix>).   Steve has also written
	the DMA routines for the 147 to get things really going.   Hardware
	scatter-gather DMA and sync. SCSI are not supported (yet).   tested
	on several disk drives and a tape drive.   CD-ROM untested, but
	should work.
1996-04-18 18:30:49 +00:00
chuck da32bd7fed add wdsc, enable FFS, move le 1996-04-18 18:14:32 +00:00
chuck f56be1680c add wdsc device 1996-04-18 18:07:58 +00:00
chuck a574a3a423 add PCC_ICLEAR 1996-04-18 18:07:08 +00:00
chuck 94b120dfa8 add a "delay" function.
XXX: assumes vme147 speed.   needs to be fixed and sync'd with DELAY.
	[will work with jason/hp300 to fix it properly]
1996-04-18 18:06:30 +00:00
chuck dbc3478277 establish a dk_establish() function. 1996-04-18 17:43:04 +00:00
mycroft 47bf863ac1 Make some of the flag handling clearer. No functional change. 1996-04-18 10:04:32 +00:00
mycroft aaed1c2fae Don't bother to enable alignment checking; nobody uses it and it interferes
with VM86 mode.
1996-04-18 09:58:13 +00:00