summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
AgeCommit message (Collapse)Author
2006-11-18A better and shorter wait sequence between writes to the command registerMiod Vallat
(spec wants 3 X1 clock cycles, thus 0.82 microsecond on mvme188)
2006-11-18Do not include <machine/frame.h> (forgotten when the former was removed).Miod Vallat
2006-11-16Ratibibugle struct frame and <machine/frame.h>Miod Vallat
2006-07-284KB buffer on the stack, and would you like fries with that?Miod Vallat
2006-07-07Get rid of the fixed iomap for device mappings, and allocated va rangesMiod Vallat
off kernel_map whenever necessary.
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
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-05-06On 88100-based systems, take the two hardwired BATC into account inMiod Vallat
pmap_extract(), and do not bother creating regular page table mappings for obio regions which are covered by these BATC entries.
2006-05-02Wave goodbye to bugtty on mvme88k as well.Miod Vallat
2006-04-27Adjust sizes for the mandatory 1:1 mappings created in pmap_bootstrap().Miod Vallat
Saves up to 12KB of no longer necessary page tables.
2006-04-27Manage a local copy of the MVME188 nvram and update the real data whenMiod Vallat
necessary; allow opening /dev/nvram0 on MVME188 again (but no mmap).
2006-04-27typoMiod Vallat
2006-04-26On MVME188, the 2KB nvram is non contiguous; each byte is mapped into aMiod Vallat
32 bit int. So map the right size, and fail open() until the uiomove() wrapper is modified to cope with this.
2006-04-26Define BUS_SPACE_MAP_LINEAR and use it when appropriate. Right nowMiod Vallat
bus_space_map() always maps everything linear, but this could change in the future.
2006-04-26The dual-ported memory of the MVME376 boards is D32 addressable, say theMiod Vallat
documentation, so we can use the MI {zero,copy{to,from}}buf_contig callbacks, which rely upon bcopy() and bzero(), instead of their d16_bcopy() and d16_bzero() equivalents. No functional change, except an unnoticeable speedup.
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-19Get rid of the clock device attachment - since the clock is not somethingMiod Vallat
we can live without, move it into the board-dependent code. This even makes the code slightly smaller. clock.c is moved from dev/ to mvme88k/ and only keeps common variables and delay().
2006-04-19Better diagnostic messages in the MVME188 interrupt handler; also no needMiod Vallat
to register an interrupt handler for the SYSCON board interrupts anymore, as we never trigger it.
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
2006-04-17Revert previous - causes misaligned exceptions in ip4_input()...Miod Vallat
2006-04-17Oops, removed a safety check in dartopen() in previous commit by mistake.Miod Vallat
2006-04-16Convert the last remaining net-driver users of ether_input to ether_input_mbuf.Christopher Pascoe
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@
2006-04-15Access to the DART registers using bus_space instead of our own memoryMiod Vallat
mapped structures; this paves the way for hardware with more than one instance of the DART chip.
2006-04-15Remove DART defines from <machine/mvme188.h> (except for its base address),Miod Vallat
and compensate in clock.c which still needs to access a few of its registers. While there, access DART registers as bytes as advised in the manual, not as ints.
2006-04-15Invoke bus_space_unmap with the correct bus_space_handle_t upon attachmentMiod Vallat
failure.
2006-04-15Clean up <machine/mvme188.h> out of duplicate defines, sort them by relevance,Miod Vallat
add more comments.
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-17since bcopy/bzero will be assigned to these pointers, get the size_t in the ↵Theo de Raadt
cast right; ok millert
2006-01-11Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Simpler, better.
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-27Remove the 1:1 association between SCSI targets and work queues, but use aMiod Vallat
cyclic search of the first unused work queue.
2005-12-27Fail existing command upon bus reset.Miod Vallat
2005-12-27Better initialize local variables before they are used, even if the compilerMiod Vallat
did not notice.
2005-12-27Keep an array of command blocks (formerly M328_CMD), one per queue - sinceMiod Vallat
we can't send more commands simultaneously - instead of using MALLOC/FREE for every scsi command we send.
2005-12-11Work in progress SMP code; mvme88k boards can spin up secondary CPUs,Miod Vallat
kernel boots single user. Still a lot of polishing and bugfixing to do.
2005-12-11Remove unused includes.Miod Vallat
2005-12-11Fix ROMCR defines.Miod Vallat
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth 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-25Prefer vaddr_t and paddr_t types, instead of void * and heavy casts.Miod Vallat
Improves readability, no functional change.
2005-10-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.
2005-10-13Put 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-12Kill unused global variable.Miod Vallat
2005-09-25Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makesMiod Vallat
things easier for the callers, and allows us to inline the "fewer than 4 pages" situation for speed.
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher 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-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
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.