summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-12Prune the in-use swap encryption keys in uvm_shutdown(), per deraadt@'s idea.Miod Vallat
2008-04-12When enabling swap encryption, pass the correct number of swap pages toMiod Vallat
uvm_swap_initcrypt. The number of available pages may not match, if we are using a miniroot in the swap partition.
2008-04-12typosMiod Vallat
2008-04-12Initial man page for uvideo(4), not connected to build until driver is.Ian Darwin
Changes from and OK jmc@, mglocker@, "go for it" robert@
2008-04-12yes, all; girishvenkatachalamTheo de Raadt
2008-04-12remove useless defines for the vnode operations, and insteadThordur I. Bjornsson
init the op array functions with whatever the define was set too. ok dlg@
2008-04-12Introduce macros to get and set the MMU context ID in asm code and switch toMark Kettenis
use the .section based mechanism to patch them up for sun4v.
2008-04-12Tighten check for consoleness by comparing comconsiot as well as comconsaddr.Mark Kettenis
ok deraadt@
2008-04-12just use an incremented int to calculate drawable ids. This is simplerOwain Ainsworth
and causes no pointer size issues on amd64. Tested by many.
2008-04-12Make sure that the drawables are properly freed when removed, and uponOwain Ainsworth
last close of the device nuke them all. Inspired by similar code in the linux drm driver. Tested by many.
2008-04-12Switch part of the magic hashtable over to using a TAILQ insteadOwain Ainsworth
of a hand-rolled list. Ideally this code needs more changes, but for now that'll do. Tested by many.
2008-04-12check the softc for null before we use it. Fixes a crash when drm is enabledOwain Ainsworth
but no device attached when the X server tries to use it. Tested by many.
2008-04-12Convert the list of agp memory over to a TAILQ instead of using a hand-Owain Ainsworth
rolled list. Tested by many
2008-04-12remove useless defines for the vnode operations, and insteadThordur I. Bjornsson
init the op array functions with whatever the define was set too. ok dlg@,blambert@
2008-04-12Get rid of acpi_s5 global variables; simply send SIGUSR2 instead of SUGUSR1Mark Kettenis
to tell init(8) to power down the machine. ok krw@
2008-04-12Initialize comconsiot in comcninit().Mark Kettenis
ok deraadt@
2008-04-12getnewvnode() is not a system call; fix from Iruata Souza, though iJason McIntyre
chose to refer to it as a "call", rather than function, in keeping with the rest of the section; ok dlg
2008-04-12Fix some debug output.Marcus Glocker
2008-04-12There are so many reasons why a printf in an ipi is a very bad idea.Mark Kettenis
Especially since it doesn't add anything but spam during reboot.
2008-04-11Add directory for sparc64 build.Stefan Kempf
2008-04-11OpenBSD tag is enough.Stefan Kempf
2008-04-11add a commented out entry that disables the lecture blurb the firstThordur I. Bjornsson
time you run sudo(8); ok millert@
2008-04-11Sync with master repo. Reminded by otto@Stefan Kempf
2008-04-11Correct a bug where _dl_error was set to DL_NOT_FOUND when a shared libKurt Miller
was found but failed to load. Adjust _dl_load_shlib() to only attempt to load the first matching shared lib which allows the correct _dl_error to propagate out upon load failure. okay drahn@
2008-04-11Pass output to groff instead of troff so we end up with postscriptTodd C. Miller
output by default, not the ditroff intermediate format. Remove the -t option as modern troff does not send the output directly to a device and add -T so the user can specify the typesetting device to use. OK deraadt@ jmc@
2008-04-11introduce THT_{RXF/TXT}_PKT_NUM macros and use them instead of theThordur I. Bjornsson
hard coded value of 128 for the pkt allocations. OK dlg@
2008-04-11ditch c99 style struct initialisers that should have been removed.Jonathan Gray
2008-04-11Correctly initialize the probe sequence buffer.Marcus Glocker
2008-04-11add support for the "include" directive using code from pfctl/parse.y.Reyk Floeter
pointed out by Prabhu Gurumurthy ok deraadt@
2008-04-10introduce mitigation for the calling of an interfaces start routine.David Gwynne
decent drivers prefer to have a lot of packets on the send queue so they can queue a lot of them up on the tx ring and then post them all in one big chunk. unfortunately our stack queues one packet onto the send queue and then calls the start handler immediately. this mitigates against that queue, send, queue, send behaviour by trying to call the start routine only once per softnet. now its queue, queue, queue, send. this is the result of a lot of discussion with claudio@ tested by many.
2008-04-10Also count multicast packets and input bytes for interfaces enslaved byBrad Smith
trunk(4). PR 5248 ok reyk@
2008-04-10scrub local stack-based buffers in the tty subsystem. tested by a lot ofTheo de Raadt
developers. if you notice tty weirdnesses in the next few months, talk to me
2008-04-10the ffs code is a bit noisy when it runs out of inodes/space etc;Thordur I. Bjornsson
so ratelimit the messages to about once every 2secs. ok dlg@ (who also pointed out me missing 'static' in the timeval decls.) "sounds good to me" deraadt@
2008-04-10Make sun4v_broadcast_ipi() do its job by making a single hypervisor callMark Kettenis
instead of repeatedly calling sun4v_send_ipi(). Makes compiling a kernel almost 20% faster.
2008-04-10Add support for recording through the mic jack on AD1984.Deanna Phillips
Tested by Alexander Hall, thanks ok jakemsr
2008-04-10Make sure the fd passing code only accepts control messages without paddingMark Kettenis
and with exactly the right amount of padding. diff actually typed in by deraadt@
2008-04-10MCP98242 temp sensor docs found..Theo de Raadt
2008-04-10Correctly amount swap usage for anons, from NetBSD via PR 5772.Miod Vallat
2008-04-10Introduce the -m flag which shows weeks as starting on mondays.Pierre-Yves Ritschard
input from tom@ through markus@ ok henning@, mbalmer@ and jmc@
2008-04-10fix the macros that are used to read the devid vpd page.David Gwynne
2008-04-10Fix MJPEG Video Frame Descriptor struct.Marcus Glocker
2008-04-10the success of a command is reported in the mbox, but not passed on to theDavid Gwynne
completion routines to do anything useful with. this stashes the commands status in the ccb for the ccb_done handlers to use. the completion path for passthru commands now checks the mbox status to see if the command actually works. this prevents phantom devices from appearing on the passthru busses.
2008-04-10syncTheo de Raadt
2008-04-09Recognize and support the Microchip MCP9805 JC-42.2 sensor (we hope; I amTheo de Raadt
simply going through datasheets found on the net...)
2008-04-09support the NPX SE97 tooTheo de Raadt
2008-04-09On sparc64, a zero base address doesn't mean the BAR is invalid. We probablyMark Kettenis
need a MD base address validation function, but skipping the check on sparc64 will do for now. ok deraadt@
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
- rename private values in struct elf_object to better describe their meaning: s/load_offs/obj_base/ "object's address '0' base" s/load_addr/load_base/ "The base address of the loadable segments" - gdb needs the obj_base value so swap positions with load_base in struct elf_object - fix a few occurrences of where load_base was used instead of obj_base. With help and okay drahn@
2008-04-09Add OpenBSD cvs id.Marcus Glocker
2008-04-09Increase buffer size sent to the fifo, and clamp the size correctly.Theo de Raadt
Scrub the buffer afterwards, too