summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-04-30Use [XNF]IP_ADDR constants rather than their numeric values.Miod Vallat
2005-04-30Remove 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-30Remove disabled code which would disable all interrupts rather than switchMiod Vallat
to spltty for processing.
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30nice docs at top of GENERICTheo de Raadt
2005-04-27Allow userland to cause the data cache to be flushed for any arbitrary addressMiod Vallat
range in the current process, using trap #451. This is necessary for proper gcc trampolines operation, and, later, ld.so...
2005-04-27Always include <uvm/uvm_extern.h> before <machine/cmmu.h>.Miod Vallat
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2005-01-25Do not write anything when ignoring cl interrupts not for us; this killsMiod 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-15make sure interface is in RUNNING state before touching the multicast filtersBrad Smith
From NetBSD NetBSD PR 27678 for details ok mcbride@
2004-12-27Finally put copyrights on files I wrote _long_ ago. prodded by miod@Dale Rahn
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-12-02We do not support 2MB machines, so don't bother taking them into accountMiod Vallat
in allocsys().
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-11TyposMiod Vallat
2004-11-09Kill guarded_access() - the way we map OBIO, there is no need for specialMiod Vallat
treatement of interrupt vectors variables, a simple read will do. While there, speed up the interrupt handlers a bit: - remove old debug code or only compile it if option DEBUG. - use short circuits for setipl() if we know interrupts are disabled at this point: there is no need playing with the psr in these cases.
2004-11-09Do not map empty mbufs (m_len == 0) in bus_dmamap_load_mbuf() as these mappingsClaudio Jeker
may disturb the dma as seen in ipw(4). Emtpy mbufs are at the beginning of the mbuf chain and are as example a "side-effect" of a previous m_adj() call. OK miod@ mickey@ jason@ markus@
2004-11-09Kill more unused stuff.Miod Vallat
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-09Split {get,set,raise}ipl() into per-board implementations.Miod Vallat
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-10-08Move dev/cons.c to MI conf/files.Alexander Yurchenko
ok miod@
2004-10-01guarded_access() is really only used by the MVME188 interrupt engine, soMiod Vallat
do not provide it on luna88k. Makes trap() slightly faster on non-MVME188 kernels.
2004-10-01More mvme88k code cleaning:Miod Vallat
- merge locore_c_routines.c into machdep.c - split machdep.c into really machdep.c content, and board-specific routines (memory sizing, early initialization, etc). No functionnal change.
2004-10-01Oops, trimmed includes too much for RAMDISK.Miod Vallat
2004-09-30Introduce sparc-like CPU_ISFOO macros, to short-circuit evaluations whenMiod Vallat
compiling for one flavour only. This makes code slightly smaller on all m88k-based platforms (my roughly 1KB), and saves more than meets the eye on luna88k, which is m88100-based.
2004-09-30Closer to reality comments.Miod Vallat
2004-09-30More code shuffling, probably the final touch.Miod Vallat
2004-09-30Move common signal code to m88k-agnostic location.Miod Vallat
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
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-09Take advantage of the recent ABI change to use less stack space and doMiod Vallat
less stack pointer manipulation; the kernel needs to be compiled by an up-to-date compiler now, or a tree will fall on your house.
2004-08-06Merge Luna88k and mvme88k M88200 management code. Features:Miod Vallat
- simpler structures (no more redundant or easily computable information). - split scheme configuration (for 4:1 and 8:1 designs) is only compiled in if necessary (read: only on a mvme88k kernel configured for MVME188 support), which speeds up CMMU operations on the Luna88k. - will not enable bus snopping on a monoprocessor system. Tested on Luna88k-2, MVME187 and various MVME188 by aoyama@ and I.
2004-08-05Unbreak luna88k; spotted by aoyama@Miod Vallat
2004-08-04Use the ad hoc register define to access the Pbus fault status register,Miod Vallat
rather than an ugly 0x108.
2004-08-04Completely remove BATC code. BATC on 88200 are way too small to be worthMiod Vallat
using as part of the general pmap machinery (though they might come back at some point to speed up I/O mappings), and we don't use the 88110 BATC yet.