summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vme.c
AgeCommit message (Collapse)Author
2006-11-16Ratibibugle struct frame and <machine/frame.h>Miod Vallat
2006-05-08Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls.Miod Vallat
With a few prototype declarations shuffling, this finally allows <machine/locore.h> to die.
2006-04-26We do not need to reserve the 0x60..0x7f interrupt vector range on MVME188,Miod Vallat
so let VME interrupt numbers start at 0x60 on these machines.
2006-04-17On MVME188, clear SYSFAIL and set up a decent VME data transfer timeout,Miod Vallat
instead of relying on what the BUG leaves us with.
2006-04-17Better constant names for the MVME188 GCSR set.Miod Vallat
2005-11-25Prefer vaddr_t and paddr_t types, instead of void * and heavy casts.Miod Vallat
Improves readability, no functional change.
2004-08-02More include files cleaning:Miod Vallat
- move MAX_CPUS constant to <machine/cpu.h> - do not include <machine/board.h> unless needed. In fact, remove this file entirely on mvme88k, and include <machine/mvme*.h> on a compiling-for-this-board basis - keep MAX_CMMUS constant private to the m8820x code
2004-07-30Move evcount structures inside struct intrhand, this makes more sense andMiod Vallat
gives us more counters in the process. Also clean up intrhand structures and usage, especially move them to SLISTs.
2004-07-23Eventually get the MVME188 reset sequence to work, and allow it to returnMiod Vallat
to the BUG instead of spinning if our reset fails.
2004-05-07bus_dma(9) implementation for mvme88k, mostly based upon powerpc.Miod Vallat
2004-04-30Correctly cope with unaligned memory pointers in d16_b*()Miod Vallat
2004-04-24Preliminary switch to an mvme88k bus_space world. Not all drivers have beenMiod Vallat
converted yet, and they rely upon some linear mappings provided by bus_space. In order to not impact performance, almost all the bus_space accesses go through macros and inline functions. This currently restricts us to D16 and D32 access modes, which are selected at compilation time. Since there are no plans to support D8 vme devices in the future, this is acceptable for now. This makes the "len" locator for vme devices go away, and allows to simplify some code which was using the pcctwo device, and will now directly access hardware which is known to exist, rather than wait until the device is attached. While there, try to enforce more interrupt vector number checks, since these changes pointed out that dart(4) had been working correctly so far by sheer luck only.
2004-04-16When a VMEBus device needs to use two interrupt vectors, be nice and let itMiod Vallat
actually use two distinct vectors, rather than twice the same. Because of this, print vector last in vmeprint() so that dmesg remains pretty in the multi-vector case.
2004-04-16During bootup, only print the VMEChip2 decoder settings for those which areMiod Vallat
enabled.
2004-04-16When the abort button is pressed on 1x7, do not invoke the trap handler twice.Miod Vallat
2004-04-14After enough checks on real hardware, it turns out the documentation is wrong,Miod Vallat
for once - SCON in GLOBAL1 on MVME188 is an SCON*, thus low if the board is the system controller.
2004-01-14mvme* do not support buses with indirect configuration, so don't check andMiod Vallat
mourn for this.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2003-12-28Having vmel and vmes keep another pointer to their parent in their softc isMiod Vallat
just plain silly!
2003-12-27Do not print vaddr in vme attachments.Miod Vallat
2003-12-22Correctly handle vme attachments which specify a larger ca_len size thanMiod Vallat
initially expected.
2003-12-19Pass -Wformat, and silence a few vme* debug printf.Miod Vallat
2003-10-08Sync VMEChip2 timer usage with mvme68k (i.e. make it slightly more sane).Miod Vallat
Also, use it even when the 1x7 is not a system controller - this does not matter.
2003-10-05Kill vm_offset_t and vm_size_t, in favor of the [pv]addr_t and [pv]size_tMiod Vallat
typedefs.
2003-09-28Clean various MVME188 related routines, fixing typos and removing unnecessaryMiod Vallat
diagnostic code in the process.
2003-06-04more term 3 and 4 changesTheo de Raadt
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-16Revert the mvme88k to 20011212. Recent changes had not been merged correctly,Miod Vallat
and I am fed up with dissecting diffs to put back code that disappeared. This will likely be fixed shortly.
2001-12-13Support for MVME197 completed. Fix SPL defs.Steve Murphree
2001-11-07post-mmap API change fixes.Miod Vallat
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-28Let 188-only kernels compile.Miod Vallat
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-26Add prototypes, fix compilation warnings, random style fixes.Miod Vallat
2001-08-24Correctly tell if a syscon is main one on 188.Miod Vallat
2001-08-11Unnecessary and redundant includes.Artur Grabowski
2001-03-09kernel will compile with -Werror. Added intr.hSteve Murphree
2001-03-07Fix interrupt handler registration and prototypes.Miod Vallat
While there, some warning hunting.
2001-02-01Major changes to get MVME188 working. More header and code cleanups. TheSteve Murphree
kernel is tested on MVME188A/2P256 and MVME188A/1P64.
2001-01-14Complete move to UVM virtual memory system. More header fixes.Steve Murphree
2000-03-26callout.h is goneTheo de Raadt
1999-09-27adding support for MVME188 and MVME197. Plus 32bit if_ie.Steve Murphree
1999-05-29Added vme bus device drivers. MVME328, MVME376, MVME332Steve Murphree
1998-12-15Commit for the first real OpenBSD mvme88k port.Steve Murphree
1997-03-03Third try at importing the mvme88k port. This is a working kernelDale S. Rahn
from nivas. Userland and compiler still need to be worked on. Make certain what directory the import is done from.