summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
AgeCommit message (Collapse)Author
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-11-13Let the chip settle for a bit more time between trying to output twoMiod Vallat
characters; this will prevent us from falling into timeout behaviour when it is in fact not necessary.
2004-11-09Luna88k does not have an iomap, so kill all iomap related defines, andMiod Vallat
move the mapiodev()/unmapiodev() code back to mvme88k.
2004-11-08Kill struct md_p, which was really only necessary for mvme88k; onMiod Vallat
luna88k it disappears completely, while mvme88k keeps 3 global variables, one of them scheduled to disappear very soon.
2004-09-06Jumbo pack of fixes:Miod Vallat
- do not leak memory when polling; - bring LUN support back - Motorola documentation says LUNs are not supported, but it's a SysV/m88k limitation, not a hardware one. - honour request timeout while polling (instead of using a fixed value) - do not program the scsi command length if the hardware knows it from the scsi command group (as advised in the manual) - various minor fixes, especially better error recovery. tested by nick@ and I; ok deraadt@.
2004-08-25Swap the sources for clock and statclock on MVME188 (the Z8536 being moreMiod Vallat
reliable), and add a large block of comments to explain the timer mess^Wsituation on MVME188.
2004-08-25Rearm the DUART counter as soon as we enter the interrupt handler, to notMiod Vallat
drift the clock of the hardclock() processing time.
2004-08-25Better DUART timer interval computation for clock.Miod Vallat
2004-08-25Use a simpler delay() routine for MVME188, from Mach via Luna88kMiod Vallat
2004-08-24The#@$#%^&}1 z8536 timers runs at PCLK/2, hence 2MHz. Compensate, sinceMiod Vallat
the code assumes 1MHz timers.
2004-08-24Oops, unbreak dartcngetc().Miod Vallat
2004-08-24Correctly initialize and shuffle statclock on 1x7.Miod Vallat
2004-08-19Fix (well, rewrite) the start() logic - not only would it eat characters,Miod Vallat
but it could cause the output to stop completely. While there, fix cnputc() prototype and clean up cngetc().
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.