summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev
AgeCommit message (Collapse)Author
2006-04-22Correct an evil typo which broke MVME147 support.Miod Vallat
2006-04-21Since bugtty (and BUG routines in general) can only work if we keep the BUGMiod Vallat
mapped, and we don't, do not bother carrying this code around - it can not be used anyway.
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-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-03-15Correct checks against cd_ndevs - valid numbers are strictly inferior toMiod Vallat
cd_ndevs.
2006-03-04Dead meat.Miod Vallat
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-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
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-27Get rid of the `len' locator for VME devices, since mappings have a pageMiod Vallat
granularity anyway; devices who would want more than one page mapped in order to probe for the hardware can take appropriate action in their cfmatch routine anyway.
2005-11-25We don't have a va mapping in match() so don't bother trying to use badvaddr()Miod Vallat
at all.
2005-11-24Prefer vaddr_t and paddr_t types in device softc, instead of void * andMiod Vallat
heavy casts. Improves readability, no functional change.
2005-11-21contorl -> controlMiod Vallat
2005-10-27stupid me, of course these MD macros need to be converted to MI macrosMartin Reindl
as well
2005-08-14Use dma_cachectl() with the right size rather than DCIAS() which implies aMiod Vallat
cache line. tested deraadt@
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-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
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-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-09-29Ratibibugle now useless evcnt structures.Miod Vallat
2004-09-15Crude diff to allow user break on zs to enter ddb, for 147/1x2; spottedMiod Vallat
by matthieu@.
2004-08-09Unbreak RAMDISK; deraadtMiod Vallat
2004-07-31Always reset the cd2400 chip if console, and do not partially reprogramMiod Vallat
it later when the device attaches; fixes some jitter in output on MVME177. Tested on MVME167 and MVME177.
2004-07-31Use cons_decl() instead of homemade wrong prototypes.Miod Vallat
While there, fix a mismatch between the zs device number and the associated dev_t nodes.
2004-07-30Move struct evcount inside struct intrhand, and modernize intrhandMiod Vallat
usage; similar to (and from) mvme88k. Also remove unused haltvec structures and related code.
2004-07-30Might count timer interrupts as well (oops).Miod Vallat
2004-07-30Switch mvme68k to evcount interrupt counters.Miod Vallat
2004-07-03Oops, one more mmap() bounds check.Miod Vallat
2004-07-03On 1[67]7 boards, always use the VMEChip2 timers for delay(), even if theMiod Vallat
device is not attached yet.
2004-07-02During bootup, only print the VMEChip2 decoder settings for those which areMiod Vallat
enabled.
2004-07-02Remove unused code, per mvme88k.Miod Vallat
2004-07-02Stricter bounds checking for mmap() calls.Miod Vallat
2004-07-02Kill ca_master in autoconf structures. Drivers either only attach to oneMiod Vallat
specific bus (mc/pcc/pcctwo), or they know it from the ca_bustype value, and can use the globals sys_busname variables. This also allows for some code simplifications.
2004-07-02Merge *ramread() and *ramwrite(), as done on mvme88k.Miod Vallat
2004-05-20Fix arithmetic in vs_getiopb(), from mvme88k.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-04-29Correctly initialize the hardware's memory address on MVME376, it usesMiod Vallat
A24 accesses. Fixes the reccurent timeout problems.
2004-04-24Insane people can't spell insane correctly.Miod Vallat
2004-03-26Do not dereference pointers before checking whether they are valid (triple ↵Miod Vallat
sigh). ok deraadt@
2004-03-04Don't spl0() while polling, splbio() is enough and required.Miod Vallat
2004-01-20In some situations, the MVME328S can be so hung that our current reset codeMiod Vallat
fails. Unfortunately, in this case, do_vspoll() would invoke the reset function ad nauseum. Allow the flow to exit this infernal loop, attach() will correctly fail. This is temporary band-aid until a stronger reset sequence is found.
2004-01-14mvme* do not support buses with indirect configuration, so don't check andMiod Vallat
mourn for this.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2004-01-14Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. AlsoKenneth R Westerback
moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom. Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD ok deraadt@, mvme* changes by miod@.
2003-12-30Add support for all six Motorola-supported configurations of MVME376Miod Vallat
cards. The original code would only work with the first configuration, as the etherbuf addresses grow _downwards_ from 0xfd6c0000 with Motorola's jumper configuration. Reference: MVME376 Ethernet Communication Controller User's Manual (MVME376/D1) While there, do not panic() on failure to attach, but simply print an error message and return. XXX Proper care of the memory mapping still needs to be written, as the memory XXX space of the MVME376 is always outside extio.
2003-12-20Passl -Wformat. Fix some blatant -Wuninitialized errors as well.Miod Vallat
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
(mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@