summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2007-05-29Add global variable apm_attached, machine dependant probe routine for ACPIGordon Willem Klok
will check this flag durring probe, meaning that if the machine has APM ACPI will not attach. This should remove one obstacle on the road to enabling ACPI by default. ok marco, dreaadt, art, krw, art
2007-05-29forgot to move to using shared boot.cTheo de Raadt
2007-05-29Re-add sync.Marco Peereboom
ok tedu
2007-05-29theo says degrees is spelled degreesTed Unangst
2007-05-29code typoTheo de Raadt
2007-05-29typoTheo de Raadt
2007-05-29put the temperature msr in line with the othersTed Unangst
2007-05-29Correct fix for the last backout use strlcpy() to fill dv_xname. OK beck@Claudio Jeker
2007-05-29Some improvements for better intel cpu support.Ted Unangst
Add EST support from i386, minus the tables Also add in support for CPU temperature sensors, based on diff to tech by Pierre Riteau. ok deraadt gwk
2007-05-29back out last commit. It helps to compile before commiting. OK beck@ art@Claudio Jeker
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
2007-05-29work around really bad softc abuse by marco; proper fixes for this willTheo de Raadt
be part of a later rototilling
2007-05-29IMP is dead and nothing uses NETISR_IMP so remove it from the netisr list.Claudio Jeker
OK henning@ mcbride@
2007-05-29 Step one of some vnode improvements - change getnewvnode toBob Beck
actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held with vhold, and change the name cache to make use of vhold/vdrop, while keeping track of which vnodes are referred to by which cache entries to correctly hold/drop vnodes when the cache uses them. ok thib@, tedu@, art@