summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-04Fix printing of revision string.Todd C. Miller
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-03Add a MIIF_FORCEANEG flag to be passed to mii_attach. This forces anBrad Smith
autonegotiation to take place if IFM_AUTO is selected in mii_media_set. From NetBSD
2004-08-03Fix a minor bug where indirect config crashes the kernelPer Fogelstrom
when match verbose is turend on.
2004-08-03NFS commit coalescion: instead of sending a commit for each block, coalescemarius eriksen
these into larger ranges wherever possible. this should speed up NFS writes quite a bit. ok art@ millert@ pedro@ tedu@
2004-08-03Print more diagnostics on fsync failure in sched_sync.Artur Grabowski
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-08-03introduce route labels, allowing for up to 32 bytes of info to be attachedHenning Brauer
to a route. the label is sent over the routing socket wrapped into a new struct sockaddr_rtlabel, allowing for handling it like any other sockaddr. struct rtentry only contains a (16 bit) label-ID, with the actual labels kept outside the routing table. ID allocator code inspired by my own code for altq and pf tags. mostly hacked at the c2k4 hackathon, markus ok
2004-08-03When accessing device nodes over nfs, do not trim major and minor numbersMiod Vallat
to 8 bits only; found the hard way by henning@. Ok deraadt@ marius@ millert@
2004-08-03Allow a unicast ip address to be specified for pfsync to send it's stateRyan Thomas McBride
updates to; this allows pairs of pfsync firewalls to protect the traffic with IPSec.
2004-08-03microcode for interrupts coalescing on fxp; from intel via freebsdMichael Shalayeff
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-02syncTheo de Raadt
2004-08-02newTheo 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-02more MII flagsBrad Smith
From NetBSD
2004-08-02- Initialise all function's latency timer and cacheline size.Brad Smith
- Fix grammar in error message. From NetBSD ok deraadt@
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-02Use some horrible macros to uninline a few functions that are expensiveArtur Grabowski
when inlined and shave a few k from the kernel size. The goal here was not to make the nicest diff possible, but the smallest. deraadt@ drahn@ ok
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-02Initialize timeouts correctly, match isa com; fixes panics inMiod Vallat
PR #3732 and #3881 (although more issues remain).
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-02- check for LK_NOWAIT on vget()Pedro Martelletto
- use ltsleep() instead of the unlock + sleep combo ok art@, inspiration from free/net
2004-08-01Remove openings = 1 and inherit the value from the HBA instead. This keeps ↵Marco Peereboom
the tape device stuffed with data and therefore it rewinds less often to reposition. ok krw@
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-01leave space for stackgap on growsuppersMichael Shalayeff
2004-08-01proper check for the end of stackgap on growinupperstacksMichael 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.