summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-30regenMatthieu Herrb
2010-03-30Add missing bthub device entries on arches that support bluetooth.Matthieu Herrb
ok miod@, deraadt@, todd@.
2010-03-30several missing closedir() callszinovik
regress test run fine with this changes ok deraadt@, drahn@
2010-03-30revert revision 1.53.Owain Ainsworth
Now the kernel does a proper vt switch for us this hack is no longer needed. ok miod@
2010-03-30Prevent the apmd/x races for good.Owain Ainsworth
When we hit suspend time, go through all wsdisplays on the system. if they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full vt switch to a !mapped vt, and prevent switching back until resume time. This has to be called from MD code because this involves userland running so that X can run the vt switch signal handler. This way, any case where we are using the "poke registers from userland" model, we will not be on the hardware when we go down, so the kernel can actually handle thing properly. Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at this time.. Idea from deraadt somewhere over the Faroe Islands (I thought of a similar thing myself a while ago). Much prompting from him. Ok and comments miod@
2010-03-30After snprintf(3) call `dir' is no longer used so free it also on normalzinovik
code path. ok deraadt@
2010-03-30This diff synchronizes rcs parser code with OpenRCS. It shrinks code by 3zinovik
lines, but does exactly the same thing. It also removes unneeded variable `buf' ok deraadt@, xsa@
2010-03-30Hmpf, aid2af() leftover from the time I did the transition that should notClaudio Jeker
be there. network X set nexthop Y failed because of this.
2010-03-30Since we use a direct mapping for the area where we save a process' floatingMark Kettenis
point registers, we no longer need to flush/purge the cache.
2010-03-30Support Radeon Mobility HD3670; James Thackray. Thanks!Owain Ainsworth
2010-03-30syncOwain Ainsworth
2010-03-30Mobility Radeon HD3670, from James Thackray (first.last@gmail.com)Owain Ainsworth
2010-03-30Have bge_start check if there are less than 16 free send BDs and if notChristian Weisgerber
set IFF_OACTIVE and try again later. Previously bge(4) reserved 16 send BDs after loading DMA maps but the hardware only requires one reserved send BD. From FreeBSD, via Brad
2010-03-30Log non-informational messages at LOG_WARNING priority instead of LOG_INFO.Jacek Masiulaniec
OK millert@
2010-03-30syncTheo de Raadt
2010-03-30Do not print ac97 link rate message unless debug is enabled.David Coppa
Adapted from NetBSD OK jakemsr@
2010-03-30describe better what KERN_PROC_ARGV and KERN_PROC_ENV return; ok jmc@Otto Moerbeek
2010-03-30We will never condtionalize ficache on PTE_PROT(TLB_EXECUTE) because itTheo de Raadt
is risky. Delete the comment suggesting we might.
2010-03-29Initialize various uninitialized variables. Found by jsg@ via Clang.Kenneth R Westerback
Feedback from miod@ and kettenis@. ok beck@
2010-03-29merge 1.9.19, keeping local patchesIngo Schwarze
* scoping fixes for roff instructions * accept apostroph in place of dot as a macro control character * accept tabs between the control character and the macro name * check that man(7) .TH titles use capital letters
2010-03-29Initialize 'flags' field of tree_cache stack variables to 0. Paranoia.Kenneth R Westerback
2010-03-29Always put server id in NAK's to requests. Some router/switchesKenneth R Westerback
need this, as reported in PR#6339. Fix tested by submitter, Marcel Widget, who also supplied the diff that I tweaked. ok beck@
2010-03-29PMAP_CANFAIL for bus_dmamem_map on all other architectures (and someOwain Ainsworth
whitespace tweaks on i386 so that it matches). ok kettenis@
2010-03-29Add Radeon HD360 Mobility.Owain Ainsworth
Info from Mitja.
2010-03-29Sync kroute.c code with bgpd so that snmpd is able to track INET6 addrs asClaudio Jeker
well. First big sync, the interface address tree still needs to be made AF independent but that will be done in a second step. OK jsg@
2010-03-29Improve the way we handle spoofed paritions for Resize. Now any autoOtto Moerbeek
allocated can be treated. We still check if no non-native partition overlaps the openbsd area, to avoid surprised. ok krw@ lum@
2010-03-29I'm going to need community_ext_conv() outside of rde_attr.c soon, so moveClaudio Jeker
the prototype to rde.h
2010-03-29Since we always reload the config now there is no need to allocate theClaudio Jeker
filter list head. It is only used temporary in reconfigure(). OK henning
2010-03-29We always allocate rib ids dynamicaly so there is no need for allowingClaudio Jeker
fixed id allocation. Makes code simpler. OK henning
2010-03-29Implement a log_rd() function to print the route destinguisher in a niceClaudio Jeker
way. Use it for now in log_addr() to show VPN routes with a prepended RD. OK henning
2010-03-29Don't try and idle the engine via the ring if the cp is not running.Owain Ainsworth
It means we've cleaned up the ring and bad things will happen (like panics) on X closedown. tested by (and ok) beck@
2010-03-28- add another check in decrypt_internal_special()Jasper Lievisse Adriaanse
prompted by miod@ ok miod@ deraadt@
2010-03-28Fix user-after-free bug in pmap_remove(). Page table pages are freed as soonMark Kettenis
as the last page table entry that was actually used is cleared. So make sure we check the page table page is still there for every page we remove. Otherwise we will bring back the tlb entry and cache lines when we touch the freed page, and we will create an illegal alias (non-equivalent mapping) as soon as the page gets re-used. Seems to fix the last remaining issue with fast page recycling (although I need to do a bit more testing to be sure). Help from drahn@, ok jsing@ and miod@ (for an earlier version of this diff)
2010-03-28new sentence, new line;Jason McIntyre
2010-03-28- tweak the way firmware links are displayedJasper Lievisse Adriaanse
with and ok jmc@
2010-03-28Add envy(4), as found on Tezro; attaches, not tested yet because marco@ doesn'tMiod Vallat
seem to have speakers at home.
2010-03-28Correctly account devio usage, instead of relying upon unused devio registersMiod Vallat
being set to zero; this allows a full PIC bus to correctly configure I/O resources. While there, when initializing a ppb, setup I/O resources before memory resources; without this a ppb connected to a PIC could not get I/O resources if devices behind it would use both I/O and memory resources.
2010-03-28Correctly report the R16010 version.Miod Vallat
2010-03-28put the iosize next to the register definitionsTheo de Raadt
2010-03-28Driver for microguru sensor microcontroller found on ABIT motherboards.Theo de Raadt
Driver written by Mikko Tolmunen <oskari@sefirosu.org>
2010-03-28syncTheo de Raadt
2010-03-28Completely overhaul optional metadata handling, allowing for multipleJoel Sing
optional metadata per volume and discipline specific optional metadata processing. ok marco@
2010-03-28Allow a multiprocessor kernel to compile.Joel Sing
ok kettenis@
2010-03-28tweak spacing a bit. This has been annoying me.Owain Ainsworth
2010-03-28Don't assign the same value to gatt->ag_size twice, also use ag_size inOwain Ainsworth
a later calculation instead of doing it *again* pointed out by miod quite some time ago.
2010-03-28Four uses of uninitialized variables found by clang via jsg@. ar5416, ar9287Kenneth R Westerback
and athn are only theoretically interesting. i33380211_node fixes a real bug in occupied channel detection. ok damien@
2010-03-28Properly initialize variable instead of just ORing in bits into random garbage.Mark Kettenis
Shouldn't change the behaviour since only the ORed in bits are checked later, but it makes the code clearer and should shut up the clang static analyser. ok krw@
2010-03-28Correctly initialise variables to prevent possible free without malloc inJoel Sing
error path. Found by jsg@ using the clang static analyser.
2010-03-28Avoid potential null dereferences in ioctl paths.Joel Sing
Found by jsg@ using the clang static analyser. ok marco@
2010-03-28Replace a scsi_done() call with sr_scsi_done() which fixes a missingJoel Sing
splx() call. Found by jsg@ using the clang static analyser. ok marco@