summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2004-09-30Protect struct isr with #ifdef _KERNEL since struct evcount isTodd C. Miller
not visible unless _KERNEL is defined. OK miod@
2004-09-29Reduce openings when DMA is used.Miod Vallat
2004-09-29Switch hp300 to evcount.Miod Vallat
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
2004-08-30In the interrupt handler, if there is a DMA transfer in progress, doMiod Vallat
not busy wait for the transfer to complete at the very beginning, as this interrupt could be unrelated to the transfer; busywaiting could cause the scsi command timeout to be triggered, and the code would not recover correctly. Instead, make the DMA check simply return, leaving the "busy" flag set; and perform the usual interrupt handler duties, except for the phase change. test&ok millert@
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.