summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-30Import parts of the NetBSD bluetooth stack; ok gwk, and grange on removalUwe Stuehler
of the existing code
2007-05-30Make xlights(4) probe correctly on the Xserve G5, still does not correctGordon Willem Klok
the i2s timeout. ok drahn
2007-05-30openbsd has timeouts, not callouts so rename the variables. i applied an olderTed Unangst
diff from brad. from brad.
2007-05-30Pull out the ELF loadfile pieces from the standalone libraries, so thatTom Cosgrove
both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks.
2007-05-30add a new kevent filter type for timers. this allows processes to createTed Unangst
a series of oneshot or periodic timers. capped to a global limit. from freebsd via brad. ok art pedro
2007-05-29Add dirty bit for volumesMarco Peereboom
2007-05-29Improve copyinstr and copyoutstr by erroring out when the userlandTom Cosgrove
pointer is VM_MAXUSER_ADDRESS right up front, rather than when startig the loop. This is how it is done on i386. ok weingart@ art@
2007-05-29Improve copyinstr and copyoutstr by performing the check againstTom Cosgrove
VM_MAXUSER_ADDRESS before running the loop rather than for every byte we copy. Saves 4 bytes in locore :) Similar to how this is done on amd64. ok weingart@ art@
2007-05-29only the i810 is known to be needed for agp, reduce driver set to just thatTed Unangst
2007-05-29sprinkle some SMALL_KERNEL to permit bio/softraid to run on boot mediaTodd T. Fries
ok marco@ then suggested deraadt@
2007-05-29sprinkle some SMALL_KERNEL so that it can run on boot media.Marco Peereboom
ok todd
2007-05-29remove token ring leftovers, ok mcbride pvalHenning Brauer
2007-05-29I suck. Forgot splx() in the early return path.Artur Grabowski
2007-05-29make xfs use VT_XFS instead of VT_AFS when getting vnodesThordur I. Bjornsson
via getnewvnode(); ok art@,tedu@ tested by todd@
2007-05-29Make use of struct wsmouse_calibcoords and add ioctl supportRobert Nagy
for getting and passing calibration values instead of using sysctl. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. Remove the two MD sysctl (ztsscale and ztsrawmode). ok deraadt@
2007-05-29Kill some simplelock goo that annoyed me while reading.Thordur I. Bjornsson
ok art@
2007-05-29add support for core cpu temperature sensors.Ted Unangst
from a diff by pierre riteau, but updated to look like the amd64 version ok deraadt
2007-05-29It helps to commit removals from the tree that has the files cvs removedClaudio Jeker
instead of one where they where just empty. Figured out by art@
2007-05-29s/entrace/entrance (not obvious that the code was cut/paste =)Jason Wright
2007-05-29Make stimeout a debug print. It has no value for users to see it.Marco Peereboom
prompted by deraadt ok dlg
2007-05-29start of dumpconf() unification, which one day we can pray will be MITheo de Raadt
(and part of setroot); ok miod
2007-05-29now i get my hands dirty in here... from if_ethersubr.c:Henning Brauer
there was code inside #if NPF > 0 to prevent feeding back the mbuf do looutput if we are on simplex interfaces and the packet has been routed by pf, which can lead to a loop in weird corner cases. apparently nobody triggered these cases in ages, since pf.h was not included and thus NPF not defined and thus this code not compiled.
2007-05-29Panic if the locker is self.Dale Rahn
2007-05-29there was code insideHenning Brauer
#if NPF > 0 to prevent feeding back the mbuf do looutput if we are on simplex interfaces and the packet has been routed by pf, whch can lead to a loop in weird corner cases. apparently nobody triggered these cases in ages, since pf.h was not included and thus NPF not defined and thus this code not compiled. ok theo
2007-05-29set UDCF_DEBUG to 1 when USB_DEBUG is defined.Marc Balmer
ok mjc
2007-05-29Die Die Die wt.Kenneth R Westerback
2007-05-29when mount -f'ing a dirty filesystem, do not clear the unclean flag,Otto Moerbeek
the fs remains dirty. ok pedro@
2007-05-29take a lot more stuff out of userland namespace (sysctl cared about ksensor ↵Theo de Raadt
use); ok tedu
2007-05-29Change getnewbuf from taking lots of sleep arguments and then doing magicArtur Grabowski
with them and trying to pass an error back after sleep, to just fail with NULL and let the caller wait for buffers. Introduce buf_wait() that does all the sleep magic and use buf_wait in the getnewbuf callers where it matters. pedro@ beck@ ok
2007-05-29Remove trapwrite(), which was only used by 80386.Tom Cosgrove
Prompted by miod@, thanks.
2007-05-29FFS2-aware code for ffs_sbupdate() and ffs_reload().Pedro Martelletto
Okay otto@ millert@ krw@ beck@ thib@
2007-05-29Add shutdownhook for all disciplinesMarco Peereboom
2007-05-29Stray reference in a comment to the dear departed wt.Kenneth R Westerback
2007-05-29Move tokenring support to the attic where it can join the cards that whereClaudio Jeker
decomissioned aeon ago. We will not miss it at all. OK dlg@ henning@ and a lot of cheers by other in the room
2007-05-29Define IF_ENQUEUE() and friends as proper C statements using do ... whileUwe Stuehler
ok henning
2007-05-29Remove support for 80386 processors. Apologies if you have one ofTom Cosgrove
the rare 80386-bases system with enough memory, a 387 FPU, a useable disk subsystem, and the patience to wait for it to unpack the distribution .tgz files. approval from art@ and many others (esp. nick@); ok deraadt@
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-05-29Beef up malo_hexdump() to emulate hexdump -C output. Helps to see hiddenClaudio Jeker
agendas in buffers that stupidly encode numbers as strings so that we need to parse them in the kernel as seen on che(4). OK mglocker@
2007-05-29gain another 5+% in ip forwarding performance.Henning Brauer
boring details: skip looking for ipsec tags and descending into ip_spd_lookup if there are no ipsec flows, except in one case in ip_output (spotted by markus) where we have to if we have a pcb. ip_spd_lookup has the shortcut already, but there is enough work done before so that skipping that gains us about 5%. ok theo, markus
2007-05-29missing couple of #ifdef DIAGNOSTIC and style nits from art@Bob Beck
2007-05-29Fix bus_dmamap_sync size argument.Alexander Yurchenko
2007-05-29Kill stale commentMarco Peereboom
2007-05-29Fix race in sync code.Marco Peereboom
2007-05-29Collapse the __partition_u1 union in struct disklabel,Thordur I. Bjornsson
keep p_cpg around since its need. remove p_sgs. ok otto@,krw@
2007-05-29Nuke the predefined vattr, it was only used for !DIAGNOSTIC,Thordur I. Bjornsson
this shrinks the i386 RAMDISK a bit. (Using the predefined vattr for GENERIC meant a growth of 416bytes without any measurable perfomance gain). ok krw@, art@
2007-05-29TAILQ_LAST takes two arguments.Pierre-Yves Ritschard
2007-05-29adapt from netbsd:Nikolay Sturm
fold sys_shmat1() back into sys_shmat(), instead add flag for shmget(2) to specify that later shmat(2) for the shared memory segment should succeed even if the segment would be marked removed; use this to implement the Linux-compatible semantics of shmat(2) this fixes current opera with shm ok millert
2007-05-29use the right capitalization for `SBus'Igor Sobrado
ok jmc@
2007-05-29use the right capitalization for `MBus' and `SBus'Igor Sobrado
ok jmc@
2007-05-29use the right capitalization for `MBus'Igor Sobrado
ok jmc@