summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-03Add support for the newer 82575 and maybe 82576 chips. The cards work moreClaudio Jeker
or less out of the box if one explicitly enables the TX DMA engine. Only tested with 82575, people with 82576 cards may contact me for a diff. OK kettenis@
2009-06-03whitespace. "Sure" marco@Chris Kuethe
2009-06-03sync these alsoJanne Johansson
2009-06-03syncJanne Johansson
2009-06-03remove bad #ifdef from syscall.masterJanne Johansson
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-06-03Import acpi power resource driver. This is needed for suspend/resume logic.Paul Irofti
Okay jordan@ and marco@.
2009-06-03Oops need to kill the XXX comment that we are not enabling softraid rebuildMarco Peereboom
2009-06-03Start using the shiny new function pointer to determine if we have diskMarco Peereboom
arrivals or departures.
2009-06-03Add a callback specifically for softraid. If you touch this kittens willMarco Peereboom
be murdered and theo will visit with a 2x4. ok deraadt
2009-06-03Whack conflicting BARs, such that they get assigned a non-conflicting valueMark Kettenis
when we try to map it.
2009-06-03set IFF_ALLMULTI properly also when in promiscuous mode and someChristian Weisgerber
cosmetic tweaking; from Brad
2009-06-03register bit definitions instead of magic numbers;Christian Weisgerber
gleaned from the Linux tg3 driver; from Brad
2009-06-03Don't disable dock devices if dock isn't initially attachedJordan Hargrave
ok marco@
2009-06-03mjacob took kettenis's r1.44 into FreeBSD and added a tweak toKenneth R Westerback
ensure lvdmode is set. Apply that tweak.
2009-06-03phys allocator fix: zeroed pages are not clean.Ariane van der Steldt
2009-06-03ansi function decls, no binary change.Jonathan Gray
2009-06-03Change bufhash from the old grotty hash table to red-black trees hangingBob Beck
off the vnode. ok art@, oga@, miod@
2009-06-03Revert readv/writev changes, as they trigger an apparent file descriptorBret Lambert
deadlock for ckuethe@ "if you have to revert, you have to revert" deraadt@
2009-06-03kill some unused defines, don't do an ifndef dance forThordur I. Bjornsson
things that should be defined here and remove a silly comment.
2009-06-03remove the never used bufq_ code.Thordur I. Bjornsson
ok oga@ 'dance for me' blambert@
2009-06-03Remove some redundant code.Mark Kettenis
2009-06-03More KNFJordan Hargrave
ok marco@
2009-06-03Make sure we don't stomp on a RAID partition that is already in use.Marco Peereboom
Code is now enabled and ready for general testing.
2009-06-03droppmap is only necessary (and declared) on MULTIPROCESSORArtur Grabowski
2009-06-03remove cruft that snuck in with previousThordur I. Bjornsson
2009-06-03Just like on amd64. Instead of keeping a bitmap of which cpus a pmapArtur Grabowski
is active on, save a curpmap pointer in cpu_info. This lets us simplify a few things and do lazy context switching from a user process to a kernel thread. There's a new IPI introduced for forcing a cr3 reload when we're tearing down a dead pmap. kettenis@ ok (after I polished a few minor things)
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@