summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2004-12-26_HP300_INTR_H_PRIVATE is long dead.Miod Vallat
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-12-23Use a shorter, more realistic initial memory storage for extio.Miod Vallat
2004-12-22Upon SCSI command timeout, check if we have missed a DMA completion,Miod Vallat
and if so, resume to regular phase change processing (due to the way this SCSI controller works, it is not possible to rely upon DMA completion interrupts). While there, bring back openings to 2 in all cases, and move timeout_del() to spc_done(). Tested by deraadt@, millert@ and I.
2004-12-22Bring more fixes from NetBSD:Miod Vallat
- more delay in loops (1.36) - on manual xfer via TEMP register, set PCTL_BFINT_ENAB and check bus free by INTS register (1.35)
2004-12-22Do not use DMA for odd-size transfers, as the last byte will not beMiod Vallat
transferred correctly.
2004-12-16Fix logic botch in dmacomputeipl() introduced in rev 1.14.Miod Vallat
2004-12-06Use uvm_grow() to account for stack growth, rather than home-grown codeMiod Vallat
or nothing. Inspired by a similar recent change in NetBSD.
2004-12-02Make BUFCACHEPERCENT adjustable through UKC, like all other arches do.Miod Vallat
(This means twice as less buffers on hp300 with unmodified GENERIC kernels now)
2004-11-28Correct pmap_enter() flags usage.Miod Vallat
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-10-08Move dev/cons.c to MI conf/files.Alexander Yurchenko
ok miod@
2004-10-02Associate ipl levels to clock and statclock coconuts.Miod Vallat
2004-10-02Too much dust on these files, it's time for them to leave the building.Miod Vallat
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