Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-03 | The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER is | Kenneth R Westerback | |
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change. ok miod@ | |||
2005-11-25 | Prefer vaddr_t and paddr_t types, instead of void * and heavy casts. | Miod Vallat | |
Improves readability, no functional change. | |||
2005-10-13 | Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusive | Miod Vallat | |
changes. | |||
2005-10-13 | Put the register clobbering constraints on the BUG trap instruction, | Miod Vallat | |
not the first ldcr; hopefully gcc did not dare optimizing too much around here, so this should not change anything in practice. test martin@ | |||
2005-10-12 | Kill unused global variable. | Miod Vallat | |
2005-09-25 | Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makes | Miod Vallat | |
things easier for the callers, and allows us to inline the "fewer than 4 pages" situation for speed. | |||
2005-07-31 | Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain | Christopher Pascoe | |
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@ | |||
2005-07-18 | remove trailing newline in panic(9); ok millert@ and deraadt@ | Federico G. Schwindt | |
2005-04-30 | Remove m88k_psr_type and function with utterly long names to control the psr, | Miod Vallat | |
and use get_psr() / set_psr() or simple macros that expand into them everywhere. No functional change. | |||
2005-04-30 | Remove disabled code which would disable all interrupts rather than switch | Miod Vallat | |
to spltty for processing. | |||
2005-04-27 | Allow userland to cause the data cache to be flushed for any arbitrary address | Miod Vallat | |
range in the current process, using trap #451. This is necessary for proper gcc trampolines operation, and, later, ld.so... | |||
2005-04-27 | Always include <uvm/uvm_extern.h> before <machine/cmmu.h>. | Miod Vallat | |
2005-01-25 | Do not write anything when ignoring cl interrupts not for us; this kills | Miod Vallat | |
M8120, since cl0 and cl1 share the same interrupt, and cl1 would warn, using cl0 as the console, and an infinite loop would occur. Spotted by Christian Groessler, thanks! | |||
2005-01-15 | make sure interface is in RUNNING state before touching the multicast filters | Brad Smith | |
From NetBSD NetBSD PR 27678 for details ok mcbride@ | |||
2004-12-24 | {e,}intr{cnt,names} bye-bye. | Miod Vallat | |
2004-11-13 | Let the chip settle for a bit more time between trying to output two | Miod Vallat | |
characters; this will prevent us from falling into timeout behaviour when it is in fact not necessary. | |||
2004-11-09 | Luna88k does not have an iomap, so kill all iomap related defines, and | Miod Vallat | |
move the mapiodev()/unmapiodev() code back to mvme88k. | |||
2004-11-08 | Kill struct md_p, which was really only necessary for mvme88k; on | Miod Vallat | |
luna88k it disappears completely, while mvme88k keeps 3 global variables, one of them scheduled to disappear very soon. | |||
2004-09-06 | Jumbo 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-25 | Swap the sources for clock and statclock on MVME188 (the Z8536 being more | Miod Vallat | |
reliable), and add a large block of comments to explain the timer mess^Wsituation on MVME188. | |||
2004-08-25 | Rearm the DUART counter as soon as we enter the interrupt handler, to not | Miod Vallat | |
drift the clock of the hardclock() processing time. | |||
2004-08-25 | Better DUART timer interval computation for clock. | Miod Vallat | |
2004-08-25 | Use a simpler delay() routine for MVME188, from Mach via Luna88k | Miod Vallat | |
2004-08-24 | The#@$#%^&}1 z8536 timers runs at PCLK/2, hence 2MHz. Compensate, since | Miod Vallat | |
the code assumes 1MHz timers. | |||
2004-08-24 | Oops, unbreak dartcngetc(). | Miod Vallat | |
2004-08-24 | Correctly initialize and shuffle statclock on 1x7. | Miod Vallat | |
2004-08-19 | Fix (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-02 | Better Z8536 initial programming. | Miod Vallat | |
2004-08-02 | More 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-31 | Always claim dart interrupts, even if they report disabled conditions, but | Miod Vallat | |
warn about them on console. More informative than ``regular'' spurious interrupt warnings. | |||
2004-07-30 | Really initialize the z8536; gives us the profiling clock again on 188. | Miod Vallat | |
2004-07-30 | Move evcount structures inside struct intrhand, this makes more sense and | Miod Vallat | |
gives us more counters in the process. Also clean up intrhand structures and usage, especially move them to SLISTs. | |||
2004-07-23 | Better fix for the ttymodem issue. | Miod Vallat | |
2004-07-23 | Eventually get the MVME188 reset sequence to work, and allow it to return | Miod Vallat | |
to the BUG instead of spinning if our reset fails. | |||
2004-07-23 | Be more careful when handling interrupts - especially the first one after | Miod Vallat | |
the console transition from BUG to the chip could lead us to invoke ttymodem() on a bogus tty. | |||
2004-07-23 | Better delay code for MVME188. Should make console and network much more | Miod Vallat | |
reactive. | |||
2004-07-20 | Forgot to put this chunk in. | Miod Vallat | |
2004-07-20 | Let the boot device detection code handle secondary SCSI buses. | Miod Vallat | |
2004-07-20 | Work in progress to support daughterboards. The driver now will attach a | Miod 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-20 | Use sc_print_addr for error messages. | Miod Vallat | |
2004-07-19 | Recognize the daughter board type, if any - but it is not supported yet. | Miod Vallat | |
2004-07-19 | After 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-19 | When we want to thaw all work queues we care about, do it correctly. | Miod Vallat | |
2004-07-19 | Direct REQUEST_SENSE commands to the correct target, instead of always | Miod Vallat | |
target zero. This makes targets other than zero working now... Spotted by nick@ | |||
2004-07-18 | Typos | Miod Vallat | |
2004-07-02 | Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now. | Miod Vallat | |
2004-07-02 | Be sure to fill intrhand structures correctly. | Miod Vallat | |
2004-07-02 | Remove unused extra intrhand. | Miod Vallat | |
2004-06-10 | Fix a logic error in sglist creation. | Miod Vallat | |
2004-05-26 | Define correct EOF and EOL characters in the default firmware termios | Miod Vallat | |
structure. |