summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-04-26In ipsec_common_input() the packet can be either IPv4 or IPv6. SoAlexander Bluhm
pass it to the correct raw ip input function if IPsec is disabled. ok todd@ mpf@ mikeb@ blambert@ matthew@ deraadt@
2011-04-26Add some defines for the logout request and response and fix theClaudio Jeker
response struct (one of the reserved fields is actually the response). OK dlg@
2011-04-26fenv for mips64Martynas Venckus
2011-04-26Make dpt(4) compile on 64-bit arches; no binary change on i386.Matthew Dempsky
2011-04-26Get rid of NetBSD/OpenBSD ifdefs; our SCSI stacks have diverged tooMatthew Dempsky
much for them to make sense anymore. Diff prepared with sed; no change to dpt.o on i386.
2011-04-26Make amd64/i386 boot(8) pass the DUID of the selected boot device to theJoel Sing
kernel so that it can use it to identify the root disk. This will be needed in order to correctly boot from a softraid volume. ok deraadt@ marco@ krw@
2011-04-26Allow the root device to be identified via its disklabel UID.Joel Sing
ok deraadt@ marco@ krw@
2011-04-26Iopoolification. Installed snapshot over it and it even booted.Kenneth R Westerback
ok dlg@ matthew@
2011-04-26typo; found in an old tree..Theo de Raadt
2011-04-25FPU emulation option addedTakuya ASADA
2011-04-25fenv for sparc; mostly cloned from sparc64Martynas Venckus
2011-04-25garbage collect biomask printf; ok deraadt kettenisMike Belopuhov
2011-04-25Move .rodata 512KB further once more.Mark Kettenis
ok deraadt@
2011-04-25fenv for powerpcMartynas Venckus
2011-04-25Remove backwards compatibility for svnd. All new operations must use theTheo de Raadt
vnd devices nodes, which impliment svnd functionality -- that being the only thing which vnd now supports. Confused? Don't worry, it is documented. ok krw thib
2011-04-25Try to match immediate constants in movl instructions against kernel symbols,Miod Vallat
and display the symbol name if there is an exact match. The optimizer likes to store addresses into `d' registers, then copy them to `a' registers and invoke the function indirectly; previously we'd only get symbol lookup for `lea' instructions (when storing to an `a' register).
2011-04-25Callers of scsi_iopool_init() ought to set up the pool member in structMiod Vallat
scsi_link accordingly, for bad things will happen without (and this was a real pita to debug).
2011-04-24Don't leak fd's in sr_installboot(). From cppcheck via Amit Kulkarni.Kenneth R Westerback
2011-04-24in azalia_intr():Jacob Meuser
* deal with the possibility of the hardware being detached, as could happen with expresscard. from deraadt@ * only return 1 if an interrupt was actually serviced. fixes "constant interrupts when the device isn't being used" issue reported by oga@.
2011-04-24Double link between pf states and sockets. Henning has alreadyAlexander Bluhm
implemented half of it. The additional part is: - The pf state lookup for outgoing packets is optimized by using mbuf->inp->state. - For incomming tcp, udp, raw, raw6 packets the socket lookup always is optimized by using mbuf->state->inp. - All protocols establish the link for incomming packets. - All protocols set the inp in the mbuf for outgoing packets. This allows the linkage beginning with the first packet for outgoing connections. - In case of divert states, delete the state when the socket closes. Otherwise new connections could match on old states instead of being diverted to the listen socket. ok henning@
2011-04-24Denormalization exception isn't supported on sh4, and setting bit 7Martynas Venckus
would enable inexact trap instead of setting the sticky bit. OK miod@.
2011-04-24fenv for shMartynas Venckus
2011-04-24do not need that protoTheo de Raadt
2011-04-24get the error ccbs state right for a put when a port is empty. should getDavid Gwynne
rid of noise during boot. reported by many.
2011-04-24match Radeon HD5450 on the kernel side; Mark PeoplesTheo de Raadt
2011-04-24syncTheo de Raadt
2011-04-24Radeon HD5450, Mark PeoplesTheo de Raadt
2011-04-24Match Sierra USB305; from Erik MugeleTheo de Raadt
2011-04-24syncTheo de Raadt
2011-04-24fenv for i386, and sparc64; from matthew@Martynas Venckus
not reviewed yet, but it's better to track changes in cvs
2011-04-24fenv for armMartynas Venckus
2011-04-23Implement C99 floating-point environment for Alpha.Martynas Venckus
Delivering FPE with non-masked exceptions doesn't work on Alpha; I suspect there's a bug in the kernel trap handler. FE_INEXACT is intentionally left out of FE_ALL_EXCEPT; since the inexact exception is not being maintained. Otherwise it will lead to the bogus results.
2011-04-23Stop calling shared interrupt handlers as soon as one of them return 1Mark Kettenis
(positive interrupt was for me), like we do on other architectures. This is done here, at the elroy(4) driver level, since this is where shared PCI interrupts are handled. We could do something similar for dino(4) but this optimization is probably not very relevant there. ok deraadt@
2011-04-23Don't leave the kernel code/rodata writeable for DDB. Make ddb enableTheo de Raadt
writes in the pte momentarily. Modified the code stolen from amd64. ok miod
2011-04-23Remove now unused vndiodone(). ok deraadt@Miod Vallat
2011-04-23Add FE_DENORMAL to the exception list just like the comment aboveMartynas Venckus
says; for couple of reasons: - makes it actually work, since the code clears ~FE_ALL_EXCEPT bits. - standard requires that.
2011-04-23Sysarch is for userland, not kernel.  ifdef _KERNEL -> ifndef _KERNELMartynas Venckus
so that the userland actually gets the proto. OK kettenis@, miod@.
2011-04-23Do not set kl_hub_widget[] default value more than once. Found the hard wayMiod Vallat
by deraadt@.
2011-04-23Move assignment of kl_hub_widget[] outside a #ifdef DEBUG ... #endif block,Miod Vallat
giving systems with non-default values a chance to work again. Pass the brown paper bag, please.
2011-04-23Partially revert 1.23, by removing the code which tries to pick the bestMiod Vallat
possible DMA window. This breaks systems which have physical memory contiguous to the selected DMA window. A fix is in the works, in the meantime the spice^WDMA should flow.
2011-04-23Fix management of the list of free uvm_km_pages. Seems art@ lost a lineMark Kettenis
when he copied this code from uvm_km_putpage() into km_free(). Found independently by ariane@; ok deraadt@
2011-04-23The previous code only prevented the vnd from being opened for write inJoel Sing
both simple and non-simple mode. Restore this behaviour by removing the openmask check.
2011-04-23backout the miod change since it is wrongTheo de Raadt
2011-04-23pf_scrub_ip() does not modify the given mbuf pointer. So don'tAlexander Bluhm
pass a pointer to a pointer to make the code in pf_test() clearer. ok henning@
2011-04-23start at high ipl (quiets noise on startup).Dale Rahn
2011-04-22Turning on SCSIDEBUG (for debugging other drivers, of course) shouldTheo de Raadt
not make these drivers spew millions of lines of output. spotted as missing by miod
2011-04-22delete a bogus blank lineTheo de Raadt
2011-04-22Turning on SCSIDEBUG (for debugging other drivers, of course) shouldTheo de Raadt
not make these drivers spew millions of lines of output. ok krw
2011-04-22Fix regression in vndopen() behaviour introduced in previous commit.Miod Vallat
2011-04-22Fix uninitialzied variables and formatting strings (-Wxxx errors)Jordan Hargrave