summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-07-03Update the inteldrm driver to drm git.Owain Ainsworth
changes: - Support for intel 4 series chipsets (i'll do any relavent agp bits for these as soon as i grab the datasheet and find a testcase) - fix scheduled buffer swaps on non 965 chipsets - major reorder, dedup and general cleanup of register definition and the header file Tested by a few, no regressions
2008-07-03Update the radeondrm driver to be level with drm git.Owain Ainsworth
adds: - support for RS400 chips - some cleanup of a few things - fixes a hard lockup for r3-500 cards. Tested by a few
2008-07-03add rum(4)Todd T. Fries
ok deraadt@
2008-07-03link pf state keys to tcp pcbs and vice versa.Henning Brauer
when we first do a pcb lookup and we have a pointer to a pf state key in the mbuf header, store the state key pointer in the pcb and a pointer to the pcb we just found in the state key. when either the state key or the pcb is removed, clear the pointers. on subsequent packets inbound we can skip the pcb lookup and just use the pointer from the state key. on subsequent packets outbound we can skip the state key lookup and use the pointer from the pcb. about 8% speedup with 100 concurrent tcp sessions, should help much more with more tcp sessions. ok markus ryan
2008-07-03Add struct for VC_EXTENSION_UNIT and dump it in debug mode.Marcus Glocker
2008-07-03Remove clauses 3 and 4 from NetBSD license.Ray Lai
OK deraadt
2008-07-03Remove NetBSD license which, after removing clauses 3 and 4, isRay Lai
identical to the one above it. OK deraadt
2008-07-02add CRYPTOTodd T. Fries
ok deraadt@
2008-07-02add softraidTodd T. Fries
ok deraadt@
2008-07-02Add first bits to support uncompressed format.Marcus Glocker
2008-07-02Make the pagedaemon a bit happier.Artur Grabowski
1. When checking if the pagedaemon should be awakened and to see how much work it should do, consider the buffer cache deficit (how much pages the buffer cache can eat max vs. how much it has now) as pages that are not free. They are actually still usable by the allocator, but the presure on the pagedaemon is increased when we starting to chew into the memory that the buffer cache wants to use. 2. Remove the stupid 512kB limit of how much memory should be our free target. That maybe made sense on 68k, but on modern systems 512k is just a joke. Keep it at 3% of physical memory just like it was meant to be. 3. When doing allocations for the pagedaemon, always let it use the reserve. the whole UVM_OBJ_IS_KERN_OBJECT is silly and doesn't work in most cases anyway. We still don't have a reserve for the pagedaemon in the km_page allocator, but this seems to help enough. (yes, there are still bad cases in that code and the comment is only half-true, the whole section needs a massage, but that will happen later, this diff only touches pagedaemon parts) Testing by many, prodded by theo.
2008-07-02As some modem devices in ubsa(4) are possible to be incompatible withYojiro Uo
the native ubsa device, the patch notifies when it finds such a kind of device. ok jsg@
2008-07-02add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-02fix interrupt pipe processing.Yojiro Uo
many high speed modem devices use CDC-like notify message protocol in there intr pipe rather than ubsa(4) compatible protocol. now umsm(4) interrupt message will be treated as CDC notify. And, this patch contains "verbose message patch" to find incompatible device in umsm(4).
2008-07-02defines for output devices' events.Federico G. Schwindt
2008-07-02add acpivideo. for now almost an empty skel so others can work onFederico G. Schwindt
suspend/resume. eventually it will also manage output switching and brightness where supported. prodded by marco@
2008-07-02unify using WDCDEBUG.Federico G. Schwindt
2008-07-02Enable FFS2.Brad Smith
ok deraadt@
2008-07-02* Dynamically set the rbus start address. from netbsd.Federico G. Schwindt
* For amd64, remove pcibios traces. * make RBUS_IO_START, RBUS_IO_SIZE, RBUS_MIN_START and RBUS_MEM_SIZE (on i386) configurable via kernel options. * Remove unneeded headers. * Some cleanups. originally reported in pr/5829 and tested by viq <viq at viq dot ath dot cx>. fixes ian@ laptop too. kettenis@ and miod@ agrees that although not perfect, this is the right direction.
2008-07-02better mechanism that works in DESTDIRTheo de Raadt
2008-07-02also install the license as run-license... discussed with jsgTheo de Raadt
2008-07-02move to 4.4-betaTheo de Raadt
2008-07-01regenStuart Henderson
2008-07-01add ID for Globespan Pulsar G7370 ADSL modemStuart Henderson
ok brad@
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01Don't return immediately if we're actually passing the traffic, we want toRyan Thomas McBride
ensure that the packet gets rewritten correctly first. As usual, problem pointed out by david ok henning
2008-07-01PF_DT_SKIP_STATETREE is no longer used.Ryan Thomas McBride
ok henning
2008-07-01Remove a now unused variable.Marc Balmer
2008-07-01Stricter probing: Not only check for an AMD cpu with MSRs, but make sureMarc Balmer
it is an AMD Geode LX before reading the GLD_MSR_CAP register. Problem reported by Paul Irofti, thanks. Tested by me and sthen. ok sthen.
2008-07-01Do not use MINCLSIZE to figure out if a single mbuf or a mcluster should beClaudio Jeker
used. Instead use MHLEN and MLEN acordingly because MINCLSIZE is bigger than a single mbuf now. OK mglocker@
2008-07-01Spacing.Marcus Glocker
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-07-01Remove clauses 3 and 4 from BSD license owned by mickey, niklas, and NetBSD.Ray Lai
OK niklas, mickey, deraadt.
2008-06-30regen.Federico G. Schwindt
2008-06-30rename OZ7110 to OZ711Mx Misc as it's not really a cardbus controller.Federico G. Schwindt
deraadt@ ok.
2008-06-30Don't try to free a non-malloced address. Somehow this bit of code escapedOwain Ainsworth
deletion when i killed the ifdefs around it. Problem noticed by Jason Meltzer and ckuethe@, thanks!
2008-06-30Limit maximal number of mmap buffers to 32 (instead 256).Marcus Glocker
2008-06-30- Free mmap buffer on close/detach.Marcus Glocker
- Fix DPRINTF while here.
2008-06-30Teach lii(4) how to clean up after itself.Joel Sing
ok dlg@
2008-06-30wrap logging code around WDC_DEBUG. shrinks kernel by ~4k.Federico G. Schwindt
jsg@ krw@ miod@ ok.
2008-06-30re* at cardbus? 'Put it in' brad@ 'Go for it' deraadt@Ian Darwin
2008-06-29Add RT2870 firmware with the same license as the rest ofJonathan Gray
the Ralink firmware files. Discussed with Paul Lin at Ralink.
2008-06-29Use DEV_BSIZE (defined as 512) instead of 512 when initializing theKenneth R Westerback
disklabel's d_secsize. ok millert@ marco@
2008-06-29this stupid per-arch SIZEOF_BPF_HDR define is really really stupid, butTheo de Raadt
for now add __sparc64__ to the list (ridiculous as it seems, but that is the best we know to do so far) ok miod
2008-06-29Don't fail compilation if APERTURE is not defined.Anders Magnusson
Also, fail probe if APERTURE is not defined. Ok Marc Balmer.
2008-06-29add usb2.0 to usb1.1(ohci/uchi) handover request to usb subsystem.Yojiro Uo
add new quirk entry for uvideo which is required isoc transfer. Some usb2.0 devices use isochronous transfer but current usb subsystem does not support isoc transfer in ehci(usb2.0) bus. This patch introduce new psuedo usb hub request UHF_PORT_DISOWN_TO_1_1 to handover the device to ehci to usb1.1 bus(ohci or uhci). ok mglocker@ deraadt@ fgsch@
2008-06-29Simplify state creation code; merge state import/export code between pfsyncRyan Thomas McBride
and the state-related pf(4) ioctls, and make functions in state creation and destruction paths more robust in error conditions. All values in struct pfsync_state now in network byte order, as with pfsync. testing by david ok henning, systat parts ok canacar
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-29Revert 1.8, and reenable branch prediction on swift cpus. Ten years of trap.cMiod Vallat
and locore.s changes have fixed the condition incorrectly blamed on branch prediction, and these processors run fine with it enabled.