summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-08-05Unbreak luna88k; spotted by aoyama@Miod Vallat
2004-08-05When probing using badaddr make sure the probe load instructionPer Fogelstrom
is retired before turning off trap handling. Otherwise a panic trap may be taken. OK drahn@
2004-08-05keep at least a page in pv_entries pool and uppen the high markMichael Shalayeff
2004-08-05again, sync usb device support accross archs by adding cdceDavid Gwynne
ok deraadt@
2004-08-05sync usb devs to other archs by adding cdceDavid Gwynne
ok deraadt@
2004-08-05unmap bios when done. from form@pdp-11.org.ru via grangeTed Unangst
2004-08-05spelling nit from Chris PascoeDavid Gwynne
ok deraadt@
2004-08-04Use the ad hoc register define to access the Pbus fault status register,Miod Vallat
rather than an ugly 0x108.
2004-08-04Remove the old fetch(9)/store(9) functions, since they are not used inMiod Vallat
OpenBSD. This gives us a simpler and faster cpu_switch() as a bonus. ok drahn@
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-04Completely remove BATC code. BATC on 88200 are way too small to be worthMiod Vallat
using as part of the general pmap machinery (though they might come back at some point to speed up I/O mappings), and we don't use the 88110 BATC yet.
2004-08-04More cleaning:Miod Vallat
- a really working and simpler ddb "machine translate" helper. - get rid of the remains of the BATC code, which would not work as is on 4:1 and 8:1 boards.
2004-08-04KNF and a spanking in the ddb helper code.Miod Vallat
2004-08-04More constants for the SSR register.Miod Vallat
2004-08-04There are so many reasons why a printf in an ipi is a very bad idea.Artur Grabowski
Especially since it doesn't add anything but spam during reboot.
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-08-03Overhaul of the MVME188 logic:Miod Vallat
- change the split CMMU strategy from splitting on user/supervisor, then A14/A14*, to A12/A12*, then A14/A14*. I believe this arrangment, being more symmetrical, uses the extra CMMUs better. - correctly handle 88204 - they will split on A14 and A16 instead of A12 and A14. - fix the addressing logic, when we need to know if a specific CMMU manages a certain address, or not. Code is even smaller now! - since the strategy choice makes user/supervisor distinction obsolete, remove the associated logic in m8820x_cmmu_set(). We now run multiuser on a 2P128 (4:1 88200) HYPERmodule. All 4:1 configurations should work; 8:1 configurations (1P128 with 88200, and 1P512) could not been tested due to lack of such hardware.
2004-08-03hide more inside _KERNEL; miod okTheo de Raadt
2004-08-03Clear CMMU fault status registers after reading them, for 4:1 and 8:1Miod Vallat
MVME188 configurations. Thus, we are looking at valid values when electing the faulting CMMU.
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-08-03Hehehe. Remove an #if 0 function that was used in the early days to debugArtur Grabowski
why vga scrolling wasn't working by sending beeps on the speaker.
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include some usb ethernet driversTheo de Raadt
2004-08-03include a few more ethernet driversTheo de Raadt
2004-08-02On MVME188 systems with 4:1 or 8:1 CMMU pairings, make sure the exceptionMiod Vallat
handling code checks the error status of the correct CMMUs and really reports an error code. This gets us closer to getting these modules to work, at the expense of sanity and some code readability.
2004-08-02_bus_dmamap_load_mbuf: check and process pmap_extract failure.Brad Smith
From NetBSD ok deraadt@
2004-08-02Heuristic approach to 'trace' in ddb which works without frame pointers.Andreas Gunnarsson
Not perfect yet but better than nothing. art@ ok
2004-08-02Remove a completly unnecessary compare that sneaked in whileArtur Grabowski
I was debugging some completly other problem in this function. cmpxchgq already does an equivalent compare. Discussed on icb a few days ago.
2004-08-02No need to make __savectx visible and 8-byte aligned.Miod Vallat
2004-08-02Fun with the BUG:Miod Vallat
- add the board's suffix to the machine description if there is one; - recognize BUG version < 5 on MVME188, which don't provide a CNFG block. in this case we'll assume 20MHz for now, until we can parse the ENV data block correctly...
2004-08-02Better Z8536 initial programming.Miod Vallat
2004-08-02Missed one <machine/board.h>Miod Vallat
2004-08-02More include files cleaning:Miod Vallat
- move MAX_CPUS constant to <machine/cpu.h> - do not include <machine/board.h> unless needed. In fact, remove this file entirely on mvme88k, and include <machine/mvme*.h> on a compiling-for-this-board basis - keep MAX_CMMUS constant private to the m8820x code
2004-08-02When restoring a process' ipl, invoke setipl() on behalf on the kernel stack,Miod Vallat
rather than on the process stack.
2004-08-02Move MAX_CPUS constant to cpu.hMiod Vallat
2004-08-01sigh, and here tooTheo de Raadt
2004-08-01why was cdce not added here? Come on.Theo de Raadt
2004-08-01Trim include file list.Miod Vallat
2004-08-01Move 88100 DAE code to its own file, shared between luna88k and mvme88k.Miod Vallat
2004-08-01parse new hpux disklabelMichael Shalayeff
2004-08-01oops. cannot sleep on pool_getMichael Shalayeff
2004-08-01Fold in relevant bits of the most recent two updates fromKenneth R Westerback
gibbs@freebsd. Large commit messages detailing all changes can be read at revisions 1.97 and 1.100 of aic7xxx.c: www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aic7xxx/aic7xxx.c Tested by marco, nate and pefo. Fixed broken system for nate. ok marco@
2004-07-31Always reset the cd2400 chip if console, and do not partially reprogramMiod Vallat
it later when the device attaches; fixes some jitter in output on MVME177. Tested on MVME167 and MVME177.
2004-07-31Use cons_decl() instead of homemade wrong prototypes.Miod Vallat
While there, fix a mismatch between the zs device number and the associated dev_t nodes.
2004-07-31Always claim dart interrupts, even if they report disabled conditions, butMiod Vallat
warn about them on console. More informative than ``regular'' spurious interrupt warnings.
2004-07-31To know our cpu number, it is much easier and safer to check through whichMiod Vallat
CMMU we accessed the WHOAMI register, rather than cause a CMMU fault and check which CMMU reported the fault.
2004-07-30Move struct evcount inside struct intrhand, and modernize intrhandMiod Vallat
usage; similar to (and from) mvme88k. Also remove unused haltvec structures and related code.
2004-07-30Really initialize the z8536; gives us the profiling clock again on 188.Miod Vallat