summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
AgeCommit message (Collapse)Author
2004-08-02Better Z8536 initial programming.Miod Vallat
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-31Always claim dart interrupts, even if they report disabled conditions, butMiod Vallat
warn about them on console. More informative than ``regular'' spurious interrupt warnings.
2004-07-30Really initialize the z8536; gives us the profiling clock again on 188.Miod Vallat
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-23Better fix for the ttymodem issue.Miod Vallat
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-07-23Be more careful when handling interrupts - especially the first one afterMiod Vallat
the console transition from BUG to the chip could lead us to invoke ttymodem() on a bogus tty.
2004-07-23Better delay code for MVME188. Should make console and network much moreMiod Vallat
reactive.
2004-07-20Forgot to put this chunk in.Miod Vallat
2004-07-20Let the boot device detection code handle secondary SCSI buses.Miod Vallat
2004-07-20Work in progress to support daughterboards. The driver now will attach aMiod Vallat
second scsi bus if a SCSI daughterboard is present, and is supposed to know about this and send scsi commands to the appropriate bus. Unfortunately probing the second bus does not report any device at the moment (though you can boot off it), but I can't see the issue at the moment. Thanks to tdeval@ for lending a few boards equipped with daughterboards for testing.
2004-07-20Use sc_print_addr for error messages.Miod Vallat
2004-07-19Recognize the daughter board type, if any - but it is not supported yet.Miod Vallat
2004-07-19After a work queue has been aborted and the abort has been acknowledged,Miod Vallat
do not keep setting the A.A. bit in further queue control operations, as advised by the manual.
2004-07-19When we want to thaw all work queues we care about, do it correctly.Miod Vallat
2004-07-19Direct REQUEST_SENSE commands to the correct target, instead of alwaysMiod Vallat
target zero. This makes targets other than zero working now... Spotted by nick@
2004-07-18TyposMiod Vallat
2004-07-02Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now.Miod Vallat
2004-07-02Be sure to fill intrhand structures correctly.Miod Vallat
2004-07-02Remove unused extra intrhand.Miod Vallat
2004-06-10Fix a logic error in sglist creation.Miod Vallat
2004-05-26Define correct EOF and EOL characters in the default firmware termiosMiod Vallat
structure.
2004-05-26Use physical addresses as seen in the A24 MVME332XT address space, thisMiod Vallat
allows the driver to really don't care about its VME address and simplifies some code.
2004-05-25Make bpp_send() return the packet error code when invoked with NOWAIT.Miod Vallat
2004-05-25Make this driver aware of non-1:1 mappings.Miod Vallat
This currently mimcs the existing code, which can be cleaned up further.
2004-05-23Nuke kvtop(), preserving a private copy in mvme88k vs(4) for now.Miod Vallat
2004-05-22Reset the board during probe. As a result, we can now honor the SCSIMiod Vallat
controller ID jumpers, instead of reprogramming the board to 7 every time.
2004-05-22Safer work queue thaw sequence.Miod Vallat
2004-05-22Convert to bus_space; but it still uses kvtop()...Miod Vallat
2004-05-21More cleaning, better registers programming, better error messages.Miod Vallat
2004-05-20More "can't help but clean things while reading".Miod Vallat
2004-05-20General cleanup before attempting to move towards bus_space and bus_dma.Miod Vallat
Also fix an arithmetic bug which caused almost no harm by luck.
2004-05-17KNF and minor cleaning.Miod Vallat
2004-05-16Simplify bugtty_chkinput(), from mvmeppc.Miod Vallat
2004-05-09Eliminate verbosity parameter to scsi_print_sense and the associatedKenneth R Westerback
chunk of code. It was never executed unless you were debugging a mvmex8k 'vs' device. ok miod@ (mvmex8k bits) marco@ deraadt@
2004-05-07Replace the old ssh(4) NCR53C710 scsi driver with a pcctwo attachment forMiod Vallat
the MI osiop(4) driver. This improves performance very slighly and should also improve reliability. Tested on 25MHz (50MHz osiop) and 33MHz (66MHz osiop) MVME187 boards.
2004-05-07bus_dma(9) implementation for mvme88k, mostly based upon powerpc.Miod Vallat
2004-05-06Do not leak resources if bus_space_map() fails during attach, or we don'tMiod Vallat
recognize the board address.
2004-04-30Correctly cope with unaligned memory pointers in d16_b*()Miod Vallat
2004-04-30Fix logic botch resulting in a too optimistic openings value.Miod Vallat
2004-04-29Bugfix sync with mvme68k:Miod Vallat
- wait until all RX processing is over to invoke ddb upon break - turn off the most annoying log() messages unless option DEBUG
2004-04-29Correctly initialize the hardware's memory address on MVME376, it usesMiod Vallat
A24 accesses. Fixes the reccurent timeout problems.
2004-04-24Do not ignore vs_poll() return value.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-16Bounds check PCC2 and SYSCON interrupt vectors.Miod Vallat
2004-04-16Do not attach if we could not get an interrupt.Miod Vallat
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-16Do not register console as CN_NORMAL priority if we are not in cdevsw[].Miod Vallat
Also, in cl, print the correct device name instead of hardcoded cl0 in various diagnostic/warning messages.
2004-04-16During bootup, only print the VMEChip2 decoder settings for those which areMiod Vallat
enabled.