summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-03Nuke CYRIX_CACHE (and related defines). They've not been used in a longTobias Weingartner
time. Beginning of refactoring cpu identification. ok kettenis@
2009-06-03Add acpivideo support. This adds brightness support for all laptopsPaul Irofti
except thinkpads, they will use the acpithinkpad driver. The driver is also hooked into wsconsole. So brightness can be adjusted via: $ wsconsctl display.brightness=<percentage> This is very helpfull on some laptops that have a nasty bios and get two steps instead of one when pressing the brightness button. Tested on various dell, fujitsu, acer, samsung and other laptops. Okay marco@, miod@. Suggestions from kettenis@. Lots of reviews and help from miod@, thanks!
2009-06-03Added ejectable bay for IDE cdromsJordan Hargrave
ok marco@
2009-06-03Lift the NFS over UDP retransmit logic from FreeBSD.Thordur I. Bjornsson
OK blambert@ FreeBSD commit message: Refactor the NFS over UDP retransmit timeout estimation logic to allow the estimator to be more easily tuned and maintained. There should be no functional change except there is now a lower limit on the retransmit timeout to prevent the client from retransmitting faster than the server's disks can fill requests, and an upper limit to prevent the estimator from taking to long to retransmit during a server outage.
2009-06-03from Brad; I've read and tested it, also reads ok to dlg@.Stuart Henderson
- Further simplify the re(4) receive filter handling and have everything taken care of in re_iff(), eliminating a bit of code from re_init(). - Remove unused if_flags field.
2009-06-03Enabled docking driverJordan Hargrave
ok marco@
2009-06-02Enable acpidock deviceJordan Hargrave
ok marco@
2009-06-02KNF cleanup and denoiseJordan Hargrave
ok marco@
2009-06-02ehci_alloc_sqtd_chain() was doing signed math on len, thus the great codeTheo de Raadt
curlen -= curlen % mps; can for very large transfers result in an intermediate variable growing larger than it should. Probably can't really happen in the real world. Do the same u_int repairs to the other matching drivers ok blambert kjell miod kettenis
2009-06-02Somehow this change didn't get committed with the rest of the powepc interruptDale Rahn
fixes. Required to be changed at the same time.
2009-06-02give the retransmission count booking keeping a facelift,Thordur I. Bjornsson
just store the maximun amount of rexmits in one place and cleanup. Also make sure this only effects soft mounts. OK blambert@
2009-06-02Change the wait-channel type to 'const volatile void *', eliminatingPhilip Guenthe
the need for casts when calling tsleep(), msleep(), and wakeup(). "I guess so" oga@ "it's masturbation" art@
2009-06-02Added changes for docking station, must eject all children devicesJordan Hargrave
ok marco@, mlarkin@
2009-06-02Instead of the global hash table with the terrible hashfunction and aOwain Ainsworth
global lock, switch the uvm object pages to being kept in a per-object RB_TREE. Right now this is approximately the same speed, but cleaner. When biglock usage is reduced this will improve concurrency due to lock contention.. ok beck@ art@. Thanks to jasper for the speed testing.
2009-06-02Constipate the second argument to timeout_add_*(). Also, usePhilip Guenthe
nitems() in two places instead of coding the array size and fix a spot of whitespace. ok miod@ blambert@
2009-06-02Avoid a buf oflow in uhidev_set_report_async() if we have to prepend theMiod Vallat
report id and the data to report is too long (this should probably use dynamic allocation for large reports).
2009-06-02Reintroduce the macppc interrupt subsystem rewrite. Several bugs haveDale Rahn
been found and corrected.
2009-06-02Shuffle function declarations a bit; ipsp_kern doesn't actually exist,Bret Lambert
and tdb_hash is only used in ip_ipsp.c, so there's no need to declare it as extern in ip_ipsp.h ok claudio@ henning@
2009-06-02A piece of an upcoming diff was on the same line, revert that portionDale Rahn
of the previous diff so macppc is stable again. found/ok maja@
2009-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck
2009-06-02Add some extra protection against non-monotonic timestamps. ok steveskChris Kuethe
2009-06-02Remove unused b_forw defines which make beck@ scream like a little girlMiod Vallat
and disturb everyone's peace.
2009-06-02- make sure biodone() gets run at IPL_BIOJasper Lievisse Adriaanse
OK thib@
2009-06-02ANSIfyPhilip Guenthe
noted by Jonathan ARMANI, ok blambert@
2009-06-02Clear PQ_ENCRYPT flag on uvm_pagefree, because free pages are by definitionAriane van der Steldt
not encrypted.
2009-06-02spaceMarco Peereboom
2009-06-02Make rebuilds restartable over reboots.Marco Peereboom
Abort rebuild and drain IO when shutting down.
2009-06-02When about to run X11 in 32 bpp mode, advertize correctly that we areMark Kettenis
really using 24 bpp pixels on 32 bit boundaries. ok miod@
2009-06-02Some casts to please format strings a little bit later onTheo de Raadt
ok grange
2009-06-02The two "firmware" arrays only contained 16 bit values, but were beingTheo de Raadt
being stored in an array of 32 bits. waste of memory. The bandpass filter table only contained 16 bit values, but was being treaded as if it was in an array of 32 bit values, thus what was being loaded into the chip was totally wrong and this probably explains why I remember it sounded horrid. Not tested on real hardware; incorrect array accesses discovered by Parfait ok oga
2009-06-02Add an r10k-specific cop0 control register.Miod Vallat
2009-06-02make rl at pci detachable; untested.Jonathan Gray
2009-06-02do the pf_pkt_addr_changed(m) magic just like gif etcHenning Brauer
tested by Manuel Rodriguez Morales <marodriguez at grupogdt.com>
2009-06-02satosin was already defined in in.h, no need to redefine it hereBret Lambert
ok claudio@
2009-06-02Make fxp at pci detachable; untested.Jonathan Gray
2009-06-02Rebuild can go to degradedMarco Peereboom
2009-06-02do not leak mbufs in the Rx path in case hardware decryption failed.Damien Bergamini
this leak was introduced when i switched to MCLGETI. reported by mpf@ and others.
2009-06-02make sure the channel's subband is found in iwn4965_set_txpower().Damien Bergamini
found by "Parfait".
2009-06-02make dc at pci detachable; untested.Jonathan Gray
2009-06-020 -> NULLBret Lambert
ok claudio@
2009-06-02let atw at pci be detachable; untested.Jonathan Gray
2009-06-02Add a DIAGNOSTIC panic to ensure we are not runningKurt Miller
via an interrupt handler in acpi_sleep_machdep. okay mlarkin@ marco@
2009-06-02truncated format strings; found by Parfait and gccTheo de Raadt
ok maja oga guenther
2009-06-02replace custom macro AR5K_ELEMENTS() with nitems()Reyk Floeter
2009-06-02Drop an argument to DRM_ERROR() that was both unmatched and superfluousPhilip Guenthe
ok oga@
2009-06-02blkno's are 64 bit so need %llu, found by ParfaitTheo de Raadt
ok oga
2009-06-02replace custom macro sizeofa() with nitems()Reyk Floeter
2009-06-02Fix some minor format string problems found in a maze of false positivesTheo de Raadt
provided by Parfait ok oga
2009-06-02Cope with logical device numbers gaps, this fixes out-of-bounds accessAlexander Yurchenko
in an array. Problem found and ok deraadt@.
2009-06-02msgctl(), shmctl(), semctl() all have operations that are supposedPhilip Guenthe
to return pids, not thread ids, so record the former when performing operations. ok blambert