summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2011-04-22pf_pooladdr_pl does not exist anymore. Remove its extern declaration.Alexander Bluhm
ok henning@
2011-04-22Remove unused structure member.Mark Kettenis
ok marco@, deraadt@
2011-04-22Stop printing the PCI interrupt line programmed by the BIOS for APICMark Kettenis
interrupts. It is irreleveant, confuses people and the information is available in pcidump(8) output anyway. ok oga@, jsg@, deraadt@
2011-04-22spacesMarco Peereboom
2011-04-22Add support for PCH2 (Sandy Bridge) MAC with 82579 PHY.Jonathan Gray
From Laurence Tratt. ok claudio@ deraadt@
2011-04-21A plausible iopoolification. Utter dearth of interested partiesKenneth R Westerback
after more than a year of grovelling emails shows further effort is pointless. ok matthew@ dlg@
2011-04-21match on 6 series smbus, tested by Laurence TrattJonathan Gray
2011-04-21fenv for amd64; from matthew@Martynas Venckus
feedback & ok guenther@, matthew@
2011-04-21fenv for hppaMartynas Venckus
2011-04-21Speedup XORP/XORQ operations in RAID6, do 32-bits at a timeJordan Hargrave
2011-04-21Fix dma_constraint upper limit computation. Logical or is not the same asMiod Vallat
arithmetic add.
2011-04-21Print memory sizes as longs. Stolen from sparc64.Miod Vallat
2011-04-21Use 64 bit integer types to compute IP35 memory ranges, to give machinesMiod Vallat
with memory beyond 4GB physical a chance to run. For some reason IP27 was already correct.
2011-04-21Provide a HPPA_FRAME_ARGS macro. This only works correctly for theJoel Sing
first eight arguments saved, due to the layout of the call frame. ok kettenis@