summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
AgeCommit message (Collapse)Author
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-19Silence a diagnostic message in multiprocessor kernels, it makes things worse.Miod Vallat
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-03-22When registering VME interrupts, maintain a direct ipl->vector table, as longMiod Vallat
as no more than one interrupt is registered for a given level. Then, if the VME interrupt vector reading cycle fails on the 188 interrupt arbiter, we can use this table as a hint if it has a valid entry, since we know on which ipl line the interrupt occured. This basically silences the m188_ext_int: timeout getting VME interrupt vector, level 3, mask 0x400<IRQ3> occasional messages appearing when the MVME376 is overloaded.
2007-02-11Rework the i/o mapping logic so that it allows the 1:1 region to not go up toMiod Vallat
the end of the address space; allows the A16D16 VME space to be mapped correctly again on MVME197.
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback
2006-12-01Unbreak.Miod Vallat
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
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.