summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev
AgeCommit message (Collapse)Author
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@
2003-11-03spelling fixes (in the comments)David Krause
2003-10-14Oops, unbrek.Miod Vallat
2003-10-13Do not define LEDEBUG by default.Miod Vallat
2003-10-08On 167 and 177 boards, use a VMEChip2 timer for accurate delay() wheneverMiod Vallat
possible, rather than a tight loop.
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-29avaliable -> availableMiod Vallat
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-04more term 3 & 4 from various developers, with permission of courseTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03kill clause 3 and 4 from several of my copyrights, cleanup.Dale Rahn
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02license cleanup of my filesTheo de Raadt
2003-04-16Clarify license terms.Miod Vallat
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-28pad < minimal length packets with 0's; based on netbsd; tested by miodJason Wright
2002-12-14handeled -> handled; reported by someone on the list, but i no longerFederico G. Schwindt
have the mail.
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-09-17It turns out that disabling selection timeout is not a good idea, onMiod Vallat
MVME177 at least. Restore previous behaviour.
2002-07-10'sez' is not an english word; ok deraadt@Jason Peel
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12cnputc() will take care of the necessary cr->cr/lf translation, so don'tMiod Vallat
do it in those consoles either.
2002-06-11cnputc() routines are void, not int.Miod Vallat