summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-20move sio_intr_shutdown() from being a shutdownhook, and do it directly inTheo de Raadt
boot() as required. ok miod
2012-10-20Fix previous.Mark Kettenis
2012-10-20Implement transmit DMA segments. The descriptor usage is from FreeBSD,Chris Cappuccio
which contradicts the datasheet (but actually works). Also, use a segment (instead of a new mbuf and data copy) to zero-pad small packets, modeled after if_myx. ok sthen@, gerhard@, henning@
2012-10-20regenMark Kettenis
2012-10-20Add /dev/hvctl and /dev/spds.Mark Kettenis
2012-10-20Add code to dump the current hypervisor configuration.Mark Kettenis
2012-10-20off-by-one in device number check; found the hard way and reported by J Sisson.Miod Vallat
2012-10-20Init values for the AR9485 were for version 1.0 of this chip, which accordingStefan Sperling
to Atheros Linux developers was never sold. So update initvals to what Linux is using for the 1.1 generation. Because the serdes values are written to different registers on the AR9485 this involves tweaking the serdes init code for all athn(4) chip families. This commit doesn't make AR9485 devices work yet but is a step in the right direction. Tested by krw, kettenis, and Andrew Ngo. ok kettenis@
2012-10-20Fix hardware kill switch detection for the ar9300 chip family. The driver wasStefan Sperling
checking the wrong bits of eeprom to determine rfkill switch pin and polarity, and was reading the wrong register to determine rfkill gpio pin state. ok kettenis@
2012-10-20- fix a potential double freeJasper Lievisse Adriaanse
ok florian@
2012-10-20pf.conf "prio" syntax was changed (2012/07/09); adapt pfctl regress tests.Stuart Henderson
ok henning@ prio X -> set prio X prio (X Y) -> set prio (X Y)
2012-10-19add an #ifdef HIBERNATE for diffability with amd64Mike Larkin
2012-10-19Support additional scheduling algorithms in the load balancer:Reyk Floeter
least-states, random, source-hash. least-states is currently only supported for redirections and the other ones are currently only supported by relays. ok benno@
2012-10-19amd64 hibernate "unpack-time" mmu/pmap code and asm goo. Work inMike Larkin
progress.
2012-10-19scrub(set-tos XX) is deprecated, the preferred form (and thus displayStuart Henderson
output) is set(tos XX). sync regression tests accordingly. henning@ ok.
2012-10-19rtableid must be BREAK instead of MERGE, otherwise the optimizer mightHenning Brauer
reorder rules incorrectly, i. e.: pass rtable 2 pass from 10/16 rtable 0 pass from 10.1/16 rtable 1 so with this ruleset a packet from 10/16 will end up in rtable 0. now let's see what pfctl makes out of it, with default optimization: <brahe@tachi> pfctl $ pfctl -nvf t.conf pass inet from 10.0.0.0/16 to any flags S/SA rtable 0 pass inet from 10.1.0.0/16 to any flags S/SA rtable 1 pass all flags S/SA rtable 2 OUPS! a packet from 10/16 will end up in rtable 2 now. found by phessler, fix by your's truly, from EuroBSDcon ok beck phessler benno mikeb sthen
2012-10-19andre.s@list.ru has a laptop which does not bring the azalia out ofTheo de Raadt
D3 state, so the attach funciton must do this. ok kettenis
2012-10-19small cleanups and output prettyingTheo de Raadt
ok yuo matthieu
2012-10-19Be sure to compile boot block objects with -D_NO_ABICALLS, to prevent .S filesMiod Vallat
in libkern from getting a ".abicalls" pseudo-op from including <machine/asm.h>; this will in turn flag the .o file as PIC even though it doesn't contain PIC code, really. This gets rid of the annoying "linking PIC files with non-PIC files" warnings spewed by ld at link time.
2012-10-19Link boot64 twice, first as a self-contained binary, to enforce there are noMiod Vallat
unresolved symbols, then as a relocatable image as initially intended. This will prevent the arcbios.c 1.18 breakage from occuring again.
2012-10-19include a serial number when generating certsDamien Miller
2012-10-19Simplify xl_iff_90x() a bit and only check ac->ac_multicnt since ac_multicntBrad Smith
is also bumped for multicast ranges. ok mikeb@
2012-10-19Document the current situation with who is PIE, and who is not.Theo de Raadt
2012-10-18Convert a number of old private copies of code which predatesTheo de Raadt
pci_set_powerstate() to using it instead. Many of these chunks of code had bugs in them, especially missing delay() calls. Some of them were doing things our PCI subsystem is now responsible for handling. If you have any of the affected devices, please keep an eye out for regressions. ok kettenis
2012-10-18Use pci_set_powerstate() unconditionally for all chip variants, ratherTheo de Raadt
than a kludged together chunk of code for just one chip, which happens to be entirely wrong. We need to watch for regressions on cardbus, though. ok kettenis
2012-10-18numerous error message fixes:Marc Espie
- do ^C checking differently: don't record sent signals, but when jobs die, recheck whether we received/have pending a INT/QUIT/TERM/HUP signal. Then don't display our process group "normally", instead group together everything dying by signal/shell dying by signal (just give the target names). - make certain we always handle signals before dying from "other conditions" - have the parser messages look more like normal messages - remove double error messages from some parser errors - make sure unclosed variables ARE errors when some modifiers are present - keep track of the base directory we're run from, so that submakes can get shortened directories... - make sure the whole error message including silent command fits into a reasonable length. okay millert@
2012-10-18Switch luna88k to timecounters; tested by aoyama@Miod Vallat
2012-10-18put fewer things in usr/mdec on the ramdisk filesystem, and use themTheo de Raadt
once baseXX has been installed in /mnt. sgivol installs the bootblocks much later now. ok miod
2012-10-18Put back the kl_n_shift variable, removed by mistake in 1.18, causing theMiod Vallat
boot blocks to fail on IP27 and IP35 (IP26, IP30 and 32-bit ARCBios systems unaffected). While there, provide a simpler ARC_Call() macro for 32-bit boot blocks, and put a few more variables and statements within explicit __LP64__ guards. Crank boot blocks version as well.
2012-10-18Disallow tables and interface address pools for rdr-to, nat-to andReyk Floeter
route-to with any other scheduling algorithms than round-robin or least-states. Before this change, pfctl accepted and loaded invalid address pools, eg. "rdr-to <table> source-hash", but it is not supported by the kernel and was silently ignored in operation. Also clarify the manpage a bit by mentioning that tables are only valid with round-robin or least-states. ok zinke@
2012-10-18simplify checkreplaywindow() API; make call/return code handling consistentMarkus Friedl
ok mikeb@
2012-10-18make oce_arm_{eq,cq} functions look like the other queueMike Belopuhov
manupulation functions in this file; do some minor style cleanup while here.
2012-10-18Wiring map entries with VM_PROT_NONE only waists RAM and bears noGerhard Roth
advantages. We shouln't do this. If the protection changes later on (and VM_MAP_WIREFUTURE was set), uvm_map_protect() will wire them. Found by Matthias Pitzl. ok miod@ markus@
2012-10-18Add support for stac/clac instructions to manipulate the flagJonathan Gray
that controls the behaviour of Intel's Supervisor Mode Access Prevention (SMAP) feature. 'looks correct' miod@ ok deraadt@
2012-10-18Move revarp code into #ifdef NFSCLIENT; saving space on some media.Theo de Raadt
Resurrect the rather silly "unplug my network device while I am doing nfs diskless revarp" safety code which was disabled due to a missing "ether.h" include, found by jsg ok jsg
2012-10-17use wakeup here, not wakeup_one - avoids problem of not waking up writersBob Beck
when there are more of them than size of queue waiting, and nothing else going on. ok miod@ kettenis@
2012-10-17syncTheo de Raadt
2012-10-17Document the 'boothowto hack' used to flag to (a few) DVACT_POWERDOWNTheo de Raadt
handlers how hard they should hit the hardware.
2012-10-17adjust wdog_register() signatureTheo de Raadt
pointed out by miod
2012-10-17Swap arguments to wdog_register() since it is nicer, and prepareTheo de Raadt
wdog_shutdown() for external usage.
2012-10-17Narrow the spltty/splx pair in com_activate to only enclose the minimumTheo de Raadt
operation which requires it.
2012-10-17cleanup more of the driver soft-state when suspending; in certainTheo de Raadt
async operational modes a timeout and some requests on a queue were still active helps a machine mlarkin has ok miod shadchin mlarkin
2012-10-17adjust comment explaining what the files are forTheo de Raadt
2012-10-17rename field msg -> evp.Eric Faurot
ok gilles@
2012-10-17Document the -P option. While there, remove reference to -T, it's incomplete,Eric Faurot
subject to changes and internal. feedback from jmc@ ok gilles@
2012-10-17add vldc;Jason McIntyre
2012-10-17Enable vldc(4) and vldcp(4).Mark Kettenis
2012-10-17Disable debug code.Mark Kettenis
2012-10-17vldc(4)Mark Kettenis
2012-10-17Rename hvctl(4) into vldcp(4) since this driver now handles other servicesMark Kettenis
as well.