summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
AgeCommit message (Collapse)Author
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
2003-11-21+ -fno-builtin-* on architectures confirmed to work.Marc Espie
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-06move netisr definition into md code to allow arch provide suitable ↵Michael Shalayeff
allocation; tested on most archs
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-09More m68k common include files factorization.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-26Add majors and devsw entries for the missing scsi devices on mvme*8k.Miod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-09-19Let boot -b return to debugger before invoking the kernels entry point, likeMiod Vallat
mvme88k does.
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-08-23unifiy with mvme88kTheo de Raadt
2003-08-23unify with mvme88k; miod okTheo de Raadt
2003-08-20ansi and protos for the restTheo de Raadt