summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-25call if_link_state_change when link state actually changes; ok claudioMike Belopuhov
2013-08-25Make ommmc interrupts show up in vmstat -i, systat, etc.Stefan Sperling
The interrupt handler used to always return zero, even if it did some work. Since interrupts aren't shared we can always return 1. ok patrick
2013-08-25Remove useless and ugly (code before decl, wrong indentation) debug printfs.Stefan Sperling
ok patrick
2013-08-25Allocate and deallocate memory for encryption contexts within cryptosoft,Joel Sing
rather than requiring each algorithm to provide their own memory handling. This matches the interface already provided by cryptosoft for authentication algorithms and removes the need for zerokey functions. ok mikeb@
2013-08-25Do not require that `extra' partitions (i-p) start on cylinder boundaries;Miod Vallat
this was inherited from sparc when adding 16 partition support, but disklabel(8) does not enforce such alignment, and since UniOS never did for the `traditional' partitions (a-h), there is no good reason to keep this. This makes partitions i-p really functional.
2013-08-25In bonito_mem_map(), initialize pcimap earlier to make sure its value is notMiod Vallat
tested before initialization; this would only affect 2e systems. Found by Maxime Villard; reminded by mlarkin@
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-25regenJonathan Gray
2013-08-25new ciss devices from Scott Benesh of HP via FreeBSDJonathan Gray
2013-08-24Extraneous local variable with useless increment applied.Mike Larkin
found by Maxime Villard
2013-08-24fix use of uninitialized variables (used only in a DEBUG printf)Mike Larkin
found by Maxime Villard
2013-08-24Remove call to sched_start_secondary_cpus in MP unhibernate case until weMike Larkin
can more fully understand the side-effects. Tested by various people back at t2k13, been sitting in my tree since then.
2013-08-24use MB for megabytes instead of Mb;Jason McIntyre
From: Zeljko Jovanovic
2013-08-24Make sure do_xmem_* return the correct value. This fixes usage of fork()Miod Vallat
in programs linked against libpthread on 88100 processors, where the parent thread issueing fork() would spin. Interestingly enough, this bug is not found in Mach, but has been introduced by Nivas when porting to mvme88k, 18 years ago. DAE involving xmem are rare enough for the issue to have survived so long (and once again, it was a nightmare to track down).
2013-08-24Move underrun/overrun recovery code from the sun-api back-end toAlexandre Ratchov
the the generic code, so it can be used by other back-ends as well. No behavior change (hopefully).
2013-08-24replace random() with arc4random.David Gwynne
blambert didnt like stuff linking to libevent getting warnings about use of an unsafe api. ok blambert@ mikeb@ deraadt@ millert@
2013-08-24netnatm is no moreJonathan Gray
2013-08-24Remove reference to "busy ranges" which were never implemented (and nowMike Larkin
removed)
2013-08-24Cleanup amd64 and i386 MTRR code -Mike Larkin
1. Makes amd64 and i386 MTRR code nearly identical 2. Removes support for per-process MTRRs (which were never implemented) 3. Treat "unknown" MTRR types as uncacheable instead of trying to preserve bogus settings made by the BIOS 4. Various KNF cleanups Should be no functional change. ok jsg@, deraadt@
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
and fix minor discrepancies with link state handling
2013-08-23don't call if_link_state_change if link state is not changedMike Belopuhov
2013-08-23Move the openfirmware color selection code outside of vgafb(4) toMartin Pieuchot
be able to configure an early console framebuffer without depending on this driver
2013-08-23flow regression tests.Florian Obser
2013-08-23Fix memory initialization for octeon's with less than 256MB.Paul Irofti
Don't substract the 256MB upperbound from realmem_bytes if the current available memory is less than that. Makes my DSR-500 kernel reach userland. Okay miod@
2013-08-23Give slowcgi a style(9) scrubbing. No functional change.Bret Lambert
ok florian@
2013-08-22this full stop has lost its way...Jason McIntyre
2013-08-22Stir PRNG after post-accept fork. The child gets a different PRNG stateDamien Miller
anyway via rexec and explicit privsep reseeds, but it's good to be sure. ok markus@
2013-08-22Remove a mac68k leftover, no object change.Martin Pieuchot
2013-08-22add the directories EGL/GLES headers will be installed toJonathan Gray
ok matthieu@
2013-08-22Like for dhclient, do no create a route to alias addresses via 127.0.0.1.Martin Pieuchot
Our stack is able to tell if the address is local or not. ok todd@, krw@
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-08-22Split out from kdump.c the ktrstruct.c bits into ktrstruct.cPhilip Guenther
Reduce the #includes to take advantage of that. ok millert@ otto@
2013-08-21Move the last column-counting members of struct termp (col and maxcols)Ingo Schwarze
from int to size_t, to match some existing ones (offset, *rmargin, viscol). Move some related local variables from int to size_t as well. Needed as a preparation to make a generalized adjbuf() function available beyond the file term.c, i.e. in mandoc.c. Also saves a couple of ugly casts.
2013-08-21Add an indicator sensor to acpibtnX reflecting lid status when available,Landry Breuil
useful for people not using machdep.lidsuspend. sysutils/upower will make use of this soon. Note that on some laptops, no LID event is triggered upon resume when using machdep.lidsuspend, so the value might be false in this case.. Tested by rpe@ on a variety of Lenovo HW, thanks! ok kettenis@ deraadt@
2013-08-21Use the console locator to make sure wsdisplay0 always is the glass console.Mark Kettenis
ok miod@
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadTodd C. Miller
with backwards compatibility for records with 32-bit times. OK deraadt@ beck@
2013-08-21regenAntoine Jacoutot
2013-08-21Forgot to remove uscan_dev after uscanner(4) was sent to the attic.Antoine Jacoutot
spotted by Nathanael Rensen, thanks!
2013-08-21No need to include if_vlan_var.h twice.Martin Pieuchot
2013-08-21Fix build without vlan.Martin Pieuchot
ok mikeb@
2013-08-21Unswap address and configuration value arguments in a debug printf.Martin Pieuchot
2013-08-21recognise dragonfly; from jan staryJason McIntyre
2013-08-21Missed a spot in my last commit.Paul Irofti
2013-08-21Stop using static variables in ICMP. While this is perfectly ok forMartin Pieuchot
the moment because there might be at most one caller at a time, it wont be so as soon as this part of the network stack is run in parallel. While here also reduce the difference with the icmp6 code adding a redirect route. ok mikeb@
2013-08-21When checking for classful broadcast addresses, iterate over the listMartin Pieuchot
from the interface on which the packet was received on instead of filtering the global list. ok bluhm@, henning@
2013-08-21zap trailing whitespace;Jason McIntyre
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
2013-08-20use a single line in usage() and SYNOPSIS and explain in text whichAlexander Hall
combinations are not allowed discussed with jmc@
2013-08-20Add urtwn(4) to the sgi kernels where it makes sense. I've been using itBrian Callahan
on my O2 for a while now. ok miod@
2013-08-20escape not-full-stop-dot at eol;Jason McIntyre