summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2005-01-14Since we run keyboards in raw mode now, NMIs can only be parity errors now;Miod Vallat
simplify nmihand() accordingly.
2005-01-14Switch OpenBSD/hp300 to wscons, still using on-board ROM fonts for now.Miod Vallat
Main features: - MI hil drivers, allowing live plug/unplug of devices, and the keyboard does not need to be at id 1 anymore. - SGC bus support on 4xx models. SGC frame buffers are supported too, but not as console, though you can use them as a regular glass terminal if you run a getty on ttyC0. Currently not compiled-in, awaiting for an sti(4) fix to be commited. - HP-UX compatibility interfaces are removed. grfinfo and hilinfo are removed. X11 support is currently broken by these changes; X.org X11R6 support will be available very soon. Tested on hyperion and 4 different flavours of catseye/topcat/kathmandu; other, older frame buffers (davinci, gatorbox and renaissance) could not been tested but should work; please report any regression.
2005-01-14If we have a frame buffer configured as ``internal'', be sure to account forMiod Vallat
its out-of-DIO-range memory when sizing the external iomap.
2005-01-14RegenMiod Vallat
2005-01-14Sync with latest NetBSD diodevs (device name and ID fixes, and add 425e audio).Miod Vallat
2005-01-10It turns out the extiospace static storage shrinkage was too much for largeMiod Vallat
frame buffers; go back to a larger, yet reasonable, size.
2005-01-09When checking device names, make sure we look for a device name immediatelyMiod Vallat
followed by an unit number. Otherwise we will match sti0 as an scsi tape drive.
2005-01-08Only use one set of DIO size and address defines, from <dev/dioreg.h>Miod Vallat
rather than <include/cpu.h>.
2005-01-08#include <arch/*> -> #include <*>Miod Vallat
2005-01-04Slight comments cleanup.Miod Vallat
2005-01-03Left out one EIOMAPSIZE -> eiomapsize chunk by accident; millertMiod Vallat
2004-12-30If we are running on a 68040 or a 68060 processor, overwrite the copypage()Miod Vallat
code with the faster copypage040() before the kernel text is mapped read-only.
2004-12-30Kill the EIOMAPSIZE and instead, dynamically size the external I/O map,Miod Vallat
based on the DIO-II space probing results. This does not win much for now, but this will be very useful for SGC bus support (coming soon).
2004-12-30Rework pmap_bootstrap() computations of I/O maps. Makes the MD part ofMiod Vallat
this much simpler. Also, make sure an userland process can fill its UPT as expected. No functional change.
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