summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2004-08-25Allow DMA transfers to be disabled through device flags; default is to enableMiod Vallat
DMA.
2004-08-25Set SCMD_PAD in non-integral sector DMA transfers, or the transfer neverMiod Vallat
completes; from the old driver, forgotten during the replacement here.
2004-08-22Crank maxusers to 32; 16 is not enough to workaround the 68040-pmap problemMiod Vallat
on some machines, and I probably won't have time to fix it properly for this release.
2004-08-21Be more paranoid about the SPC_DOINGDMA and SPC_HAVEDMA flag usage.Miod Vallat
2004-08-21Check for disabled parity in the master chip hconf register upon attach,Miod Vallat
and do not enable parity in the scsi chip in this case. From the old scsi code. Tested by millert@ and I, though none of us has non-parity capable 98658.
2004-08-21Be sure to reset the master hconf register when resetting the scsi chip.Miod Vallat
Tested by millert@ and I.
2004-08-21Missing DELAY.Miod Vallat
2004-08-19If a DMA operation takes longer time than usual, do not flood the consoleMiod Vallat
too much with warning messages.
2004-08-19Remove debug printf that crept in.Miod Vallat
2004-08-18A potpourri of fixes and improvements:Miod Vallat
- sync with recent NetBSD changes, gives better performance for PIO reads; - sprinkle a few DELAY when busy-waiting for the chip to change state, to unload the bus. ok deraadt@, tests millert@ and I.
2004-08-04Crank maxusers to 32 on m68k GENERIC kernels, and to 16 on m68k installationMiod Vallat
media. The latter is to work around a pmap issue on 680[46]0, for which either a kluge or a real fix look very ugly.
2004-08-03Replace the old 4.4BSD scsi code used on hp300 with a ``real'' driverMiod Vallat
interfaced with the MI scsi code. Adapted from NetBSD with some changes (especially to get tape and old cd-rom drives to not cause the driver to spin during probe). Tested by millert@ and I, ok millert@
2004-08-03Copy scsireg.h from hp300/dev to hp300/stand, and use it within hp300/stand.Miod Vallat
2004-07-22Grammar.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-02Cope with SONPROC scheduler changes.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-21std header ifdef naming conventions; ok mickey@Todd T. Fries
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-04-12removeable -> removable;Jason McIntyre
ok deraadt@ beck@
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-02-19Kill <sys/clist.h> - nothing uses it since years.Miod Vallat
2004-02-15sneaky disk_unbusy()'s tried to hideTed Unangst
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-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-15instuction -> instructionMiod Vallat
2003-12-22typos from Jared Yanovich;Jason McIntyre
plus one more s/bufferd/buffered;
2003-12-22IPL_HIGH should be 7, not 6. This is purely cosmetic as that value isTodd C. Miller
not actually used but it makes things consistent wrt spls and potential future splasserts. miod@ OK.
2003-12-20Pass -WformatMiod Vallat
2003-12-17remove unneeded bits introduced in previous commitTodd C. Miller
2003-12-17Simply include the main libz Makefile instead of trying to roll our own.Todd C. Miller
2003-12-12missing parameter to printf; erick@bonzai.space-ei.nlTheo de Raadt
2003-12-04TyposMiod Vallat
2003-11-24-fno-builtin, checked by millert@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-26typos from Jared Yanovich;Jason McIntyre
2003-10-09More m68k common include files factorization.Miod Vallat
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-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-09-24Compile after poll changes...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-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-08-01Nuke calls to uvm_useracc() and instead check copyin() and copyout() forMiod Vallat
failure, since the former is not reliable; requested by art@ long ago.
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)