summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-06-01use --warn-common for linking (some arch's will show new warnings), andTheo de Raadt
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
2010-06-01add beagle, mentioned by drahnTheo de Raadt
2010-06-01move cd, st & ss over to bufq's again.Thordur I. Bjornsson
Tested by myself and krw. ok krw@
2010-06-01if we're going to set ITSDONE when an xfer is done cos the adapter expectsDavid Gwynne
it, we should clear it before we issue it to the adapter too. retried commands would have ITSDONE still set otherwise.
2010-06-01regenMarcus Glocker
2010-06-01Add ``StarTech CONV-USB2DVI'' udl device.Marcus Glocker
From Bryan Vyhmeister
2010-06-01Initial attempt at GENERIC kernel for beagle, untested.Dale Rahn
2010-06-01Fix splassert code, (previously hidden in DIAGNOSTIC).Dale Rahn
2010-06-01Fix some code hidden in DIAGNOSTIC.Dale Rahn
2010-06-01Bluetooth header file is required so even if no bluetooth is configuredDale Rahn
the files.bluetooth is needed to generate included file.
2010-05-31This file never contained anything of value.Theo de Raadt
2010-05-31Completely rewrite the tags file creation process. use config(8) againstTheo de Raadt
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some variables using make -V, and after some more singing and dancing use this full and (more) correct list of files with ctags. Don't read this code. ok guenther
2010-05-31attempt to partially update the list of arch's and src dirs, though weTheo de Raadt
really should do this more automatically (ideas being discussed) ok guenther
2010-05-31there is no spllpt(), since lpt's are just tty devices (call tty functions,Theo de Raadt
and thus should be using spltty() from Matthew Dempsky ok oga guenther
2010-05-31this dir, itself, should decide if it is entered deeperTheo de Raadt
2010-05-31do not immediately panic if we find a non-increasing heartbeat counter butAlexander Hall
keep count for at least 33 seconds. then panic. ok marco@, moral support johan@
2010-05-31OpenBSD/moko development has stopped, it effectively stopped long ago whenDale Rahn
the not-publicly documented video driver needed to be written, however between that documentation issue and developer resouces, moko will be moved to the Attic.
2010-05-31OpenBSD/moko development has stopped, it effectively stopped long ago whenDale Rahn
the not-publicly documented video driver needed to be written, however between that documentation issue and developer resouces, moko will be moved to the Attic.
2010-05-31Add a comment about the explicit NULL label handling. We follow RFC 4182Claudio Jeker
which relaxes the position of these labels. After discussion with Christophe Fillot (cf (at) utc fr)
2010-05-31Do not use IF_ENQUEUE() but IF_INPUT_ENQUEUE() instead. The first makroClaudio Jeker
does no overflow checking and does not set the congestion flag. Protocol input queues (inet, inet6, ...) should always use IF_INPUT_ENQUEUE(). OK henning@
2010-05-30Tweak bufq code to handle corner cases. Makes upcoming cd(4)Kenneth R Westerback
conversion to bufq work. Taken from n2k10 scsi buf queueing code. ok thib@
2010-05-29merge subr.s into locore.S, which requires a fairly complicated danceTheo de Raadt
mixing and matching the various styles of *ENTRY* macros prescribed by miod, ok ragge, tested by jasper
2010-05-29As noted by art, two processes with the same pid would be bad. GrabPhilip Guenthe
the allproclk before searching for a free pid so that we don't sleep between picking one and adding it to the list that is searched. Also, keep holding the lock until after the PIDHASH update. ok art@, tedu@
2010-05-28${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyPhilip Guenthe
to genassym.sh ok deraadt
2010-05-28Delete a fallback definition for CPU_INFO_UNIT that's both unnecessaryPhilip Guenthe
and incorrect. Kills an XXX comment. ok syuu, thib, art, kettenis, millert, deraadt
2010-05-28Rework the way we handle MPLS in the kernel. Instead of fumbling MPLS intoClaudio Jeker
ether_output() and later on other L2 output functions use a trick and over- load the ifp->if_output() function pointer on MPLS enabled interfaces to go through mpls_output() which will then call the link level output function. By setting IFXF_MPLS on an interface the output pointers are switched. This now allows to cleanup the MPLS input and output pathes and fix mpe(4) so that the MPLS code now actually works for both P and PE systems. Tested by myself and michele (A custom kernel with MPLS and mpe enabled is still needed).
2010-05-28Add missing initialization.Mark Kettenis
2010-05-28Make sure the temporary buffer used to generate tcp options is properlyMark Kettenis
aligned, otherwise we lose on strict alignment architecture. Should fix problems with gcc4 compiled bsd.rd's that people see on sparc64. ok millert@, beck@, jsing@
2010-05-27Switch the signal status "percent" sensor, which is currentlyStuart Henderson
hardcoded(!), over to an "indicator" sensor type, value depending on whether the GPS has fix. ok deraadt@
2010-05-27Add missing license (amd, mit/x11)Owain Ainsworth
armani@ noticed that is was missing.
2010-05-27We no longer need -traditional-cpp for hppa.Joel Sing
2010-05-27Generate exported names using token pasting rather than a macro. OtherwiseJoel Sing
without -traditional-cpp the trap name gets preprocessed to the defined value rather than remaining as text. ok kettenis@
2010-05-26add a new getparam member to get the contents of scratch register 3 (theOwain Ainsworth
one we use to dump the software interrupt number). For some strange reason noticed upstream, writeback doesn't seem to be working for this value for use, so instad of using the get_scratch functions, we fallback to a direct register read (more bus traffic, but it actually works). This is to be used by new mesa on r100 and r200 since they reworked stuff for dri2, and we have local patches that prevent userland mapping the registers in dri clients. Tested by Josh Elsasser on a M9 (rv250), thanks very much to him.
2010-05-26libevent has named two of it's new macros by the same name as our kernelTheo de Raadt
macros, which are visible, and get pulled into some source code... Hide the kernel ones inside _KERNEL, and make trpt (the only userland viewer of them) define _KERNEL temporarily. This is really gross. libevent is doing a poor job of choosing function names! ok tedu guenther
2010-05-26- no need for a separate mpii_minphys;Marco Peereboom
- save about 26K of kernel memory by giving scsi subsystem a hint that we won't be using more than one lun per target; - remove a debugging leftover. from Mike Belopuhov <mkb@crypt.org.ru>
2010-05-26Trying this again. Mixing anoncvs with cvs is _not_ a good idea.Thordur I. Bjornsson
Reintroduce bufqs. A few changes since it was backed out after some good comments from dlg@. No need for a separate bufq.h, keep all of in buf.h; As requested by kittens and deraadt. Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon, also other goodies like heuristics for sd(4) for selecting the bufq type and the death of disksort() are forthcoming. Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and phessler. OK art@, beck@, kettenis@, oga@
2010-05-26rename intvec.s to locore.S, and add the guts of locore.C to machdep.cTheo de Raadt
ok miod ragge We cannot yet get at vax/subr.s via files.vax because rdsetroot doesn't like it when the "start" symbol isn't in the first page of the executable. subr.s will have to be merged into locore.S later on, when other problems with ENTRY() are solved (says Miod)
2010-05-26Reintroduce bufqs. A few changes since it was backed out after some goodThordur I. Bjornsson
comments from dlg@. No need for a separate bufq.h, keep all of in buf.h; As requested by kittens and deraadt. Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon, also other goodies like heuristics for sd(4) for selecting the bufq type and the death of disksort() are forthcoming. Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and phessler. OK art@, beck@, kettenis@, oga@
2010-05-26Fallout from the proc.h include cleanup: proc.h must be included beforePhilip Guenthe
user.h ok deraadt@
2010-05-26Bad tedu, no cookie.Owain Ainsworth
Don't set SDEAD on the process in exit1 untile we have grabbed the allproclk. allproclk is a rwlock and thus we may sleep to grab hold of it. This is a big of a bugger when we just set a flag that means we panic if we sleep. ok art@. turns Tom Murphy's fstat panic into a deadlock instead *sigh*, this is being looked into.
2010-05-26the addr field in read cap 16 is 8 bytes, not 4. pity, i had really bigDavid Gwynne
disks for a few minutes there.
2010-05-26PAGEFASTRECYCLE does not exist as an option after uvm_pmemrange; it isTheo de Raadt
implied.
2010-05-25eh.S includes eh_common.S to make eh.o; fix this dependencyTheo de Raadt
2010-05-25Actively remove processes from the runqueues of a CPU when we stop it.Mark Kettenis
Also make sure not to take the scheduler lock once we have stopped a CPU such that we can safely take it away without having to worry about deadlock because it happened to own the scheduler lock. Fixes issues with suspen on SMP machines. ok mlarkin@, marco@, art@, deraadt@
2010-05-25The logic in this function is a little tricky (though correct).Owain Ainsworth
Explain how an invaviant is satisfied and add an assertion to check (never hit that one). As a side benefit clang doesn't bitch about a possible NULL deref now.
2010-05-25Having just calculated which sequence number we wish to wait for (soOwain Ainsworth
that in the reading-only case we need only wait for all gpu writes to be done and flushed), don't then wait for the full seqno anyway. Found by Clang's static analyser where it flagged a dead store to the seqno variable.
2010-05-25The _arch and _mach variables now come from config(8), decreasing even furtherTheo de Raadt
the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
2010-05-25rename struct drm_i915_private to struct inteldrm_softc, to be more inOwain Ainsworth
line with everything in the tree. No functional change. I have wanted to do this for ages! More cleanup will be forthcoming.
2010-05-25Remove the DRI1 code paths from inteldrm as promised two weeks ago.Owain Ainsworth
We no longer support these paths, only memory managed mode is now allowed.
2010-05-25Fix previous. s/sfs->f_typename/bfs->fs_typename andThordur I. Bjornsson
add a missing ')'. i386 can now build kernels.