summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
AgeCommit message (Collapse)Author
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-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-10files.hpux is now in a {m68k,hppa} subdirTheo de Raadt
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-07-02Remove unused getdevunit().Miod Vallat
2004-07-02Cope with SONPROC scheduler changes.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Fix arithmetic in vs_getiopb(), from mvme88k.Miod Vallat
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
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-05-04Always ask the user for the root device if we are "swap generic" and theMiod Vallat
boot device is not known, as other arches do.
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-04-18... and do not pass a NULL map to uvm_fault() either.Miod Vallat
2004-04-18Do not dereference NULL stupidly in trap() when checking if a process needsMiod Vallat
its stack to grow (sync with other m68k ports, which are safe).
2004-04-18In cpu_startup(), move the memory size computations to allocsys() insteadMiod Vallat
of unrolling the logic.
2004-03-26Do not dereference pointers before checking whether they are valid (triple ↵Miod Vallat
sigh). ok deraadt@
2004-03-17Make sure disklabels use at least DEV_BSIZE as their sector size.Miod Vallat
This allows the kernel to survive reading the disklabel off a 256-bytes/sector scsi device... ok deraadt@
2004-03-10Ensure that we obey a user's ddb> boot reboot command even if the systemTom Cosgrove
is cold (during startup). This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this flag is set. ok deraadt@
2004-03-09same typo as in mac68k/mac68k/locore.sXavier Santolaria
ok miod@.
2004-03-04Don't spl0() while polling, splbio() is enough and required.Miod Vallat
2004-03-03Handle 68060 branch prediction error traps before checking whether we areMiod Vallat
ignoring bus errors.
2004-03-0268040 boards would not set address error and bus error trap vectors correctly;Miod Vallat
fix inspired by the hp300 code.
2004-02-19Kill <sys/clist.h> - nothing uses it since years.Miod Vallat
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-01-28Do not put the sample IndustryPack driver in GENERIC. This makes no real sense.Miod Vallat
2004-01-27Only install the fpsp exception vectors if the cpu is a 68040.Miod Vallat
Thus, it becomes unnecessary to check for the cpu type in the exception handlers, saving a few cycles and a few bytes. Tested by various people on hp300, mac68k, mvme68k, 68040 and non-68040.
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-16Do not switch to the fpsp exception vectors if we are not running on anMiod Vallat
MC68040 CPU. And suddenly MC68060 feels so happier... MVME177 now passes all libm and libc/ieeefp regress (and probably the Perl testsuite, too...)
2004-01-15instuction -> instructionMiod Vallat
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@.
2004-01-13UFS -> FFS, /bootsd -> /boot, ufsboot -> bootMiod Vallat
2004-01-11Implement and use splraise() rather than spl() whenever necessary.Miod Vallat
2004-01-11Use splhigh() instead of splimp() in cpu_exit. [similar fix as done on mvme88k]Miod Vallat
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.
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