summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-07-01make sure that buf's on the stack set the b_bq to NULL.Thordur I. Bjornsson
one memset -> bzero. ok marco@, jsing@
2010-07-01suspend/resume to the same level as apm machines. note: that is kindTheo de Raadt
of broken since it does not detach+reattach the card (which it has to) ok mlarkin
2010-07-01leases have expired. (remove a comment).Thordur I. Bjornsson
2010-07-01See, I said the #ifdef's are a confusing maze -- they confused me.Theo de Raadt
2010-07-01Make this compile with SMALL_KERNEL. The #ifdef farm this produces shouldTheo de Raadt
probably be cleaned up...
2010-07-01make this compile with SMALL_KERNELTheo de Raadt
2010-07-01compile when SMALL_KERNEL is setTheo de Raadt
2010-07-01do bufq quiesce again, since vnd/the bufq_done call inThordur I. Bjornsson
biodone has been fixed.
2010-07-01for the allocated buf, set the b_bq flag to NULL so we do notThordur I. Bjornsson
call bufq_done in biodone.
2010-07-01Backout recent AML changes, breaks on R210 and othersJordan Hargrave
2010-07-01regenJonathan Gray
2010-07-01Add the Intel Rate Matching Hub, which is builtin to 3400/PCH chipsetsJonathan Gray
to remove the need for a companion uhci controller.
2010-07-01Change scsibus(4)'s scsi_link array to an SLIST to save memory onMatthew Dempsky
sparsely populated buses. ok dlg@, krw@
2010-07-01Make it possible to get the screen types and emulations for a wsdisplay.Mats O Jansson
Information needed for wsconscfg. feedback and ok miod@. -moj
2010-07-01Simplified aml_parse_resource call, cleanup codeJordan Hargrave
ok marco
2010-07-01Fix subordinate bus # for multi-root PCI busesJordan Hargrave
ok marco, kettenis
2010-07-01Add a look-up table for machines that have special vga cards. This table willPaul Irofti
tell, based on vendor/product/subvendor/subproduct ids, how the video reposting should be done: via the emulator or the bios video call in locore. The default is to do none of those, which is how most machines work. Okay kettenis@, deraadt@.
2010-07-01remove crappy old README filesTed Unangst
2010-07-01any TODO containing the item "Use lock manager locks." is provably wrong.Ted Unangst
ok dlg
2010-07-01the only thing left on the raidframe TODO list is to go awayTed Unangst
2010-06-30Disable/partially backout the bufq quiesce changes as thisThordur I. Bjornsson
is causing havoc with vnds and release must be buildable.
2010-06-30syncPeter Hessler
2010-06-30add Realtek RTL8171Peter Hessler
from Brad
2010-06-30timeout_add -> timeout_add_msecBret Lambert
ok jakemsr@, who promises to deal with any fallout, because he's a stand-up guy
2010-06-30timeout_add -> timeout_add_msecBret Lambert
"I agree that hz / 10 is 1/10 of a second, which is 100 milliseconds" krw@
2010-06-30Cleaned up aml name parser, delete unused codeJordan Hargrave
ok marco
2010-06-30Use SLIST for the ccb free list.Michael Knudsen
ok krw, discontent grunts from marco.
2010-06-30Use a SLIST for the ccb free list.Michael Knudsen
ok krw
2010-06-30Use SLIST instead of TAILQ for the ccb free list.Michael Knudsen
ok krw
2010-06-30regenYojiro Uo
2010-06-30add MOSCHIP MCS7715Yojiro Uo
2010-06-30* use audio(9)'s DMA trigger methods instead of the init/startJacob Meuser
methods. the AD1848 DMA engine runs continuously and doesn't need to be started/stopped or otherwise manipulated for each block. makes the driver a bit more efficient. * allow "Mode 2" capable chips such as the CS4231 to work in "Mode 1" when there is only one DMA channel, instead of forcing it into "Mode 2", which expects two DMA channels. allows recording to work for "Mode 2" capable devices when there is only one DMA channel. * service both playback and recording interrupts in full-duplex mode, instead of only playback interrupts. allows "Mode 2" capable chips to work in full-duplex mode. * fix checks for sample rate/format recalibration completion. gets rid of busy loops that briefly "hang" the kernel when the device is opened and/or reconfigured.
2010-06-30Instead of failing immediately , check for ENOTTY from the parent (umodem)Nicholas Marriott
ioctl function and fall through to pick up the tty ioctls. ok deraadt beck
2010-06-30Add mostly working support for ironlake (integrated graphics on core i5 and i3Owain Ainsworth
cpus) to inteldrm. This mostly works, but the suspend/resume handler doesn't put the registers back 100% (this is being worked on) and with the X driver code that is in snapshots (and soon to be on tech) we don't do vt switch in a 100% sane way. Similarly there are some vblank issues that aren't solved yet, but for most usage this works with the correct Xorg DDX. tested on two x201's, a t510 and a t410 all work given the correct userland. Suspend works once (due to crazy crap done in the ddx) but doesn't come back the second time and text vts are screwed post suspend. this will be fixed shortly when a non-sucky solution has been found. for now, this allows non-vesa X on ironlake graphics and makes us the only accelerated but non-kms OS that works on ironlake.
2010-06-30add support for ironlake (clarkdale and arrandale, i.e. core i3 and coreOwain Ainsworth
i5 internal graphics) to intagp. While technically this acts like a g4X here, add our own flag because I anticipate crazy errata and practically costs nothing. Including other diffs this was tested on two different x201's, a t510 and a t410, worked on all.
2010-06-30If the device has the PCI Express capability, save the slot control and statusMark Kettenis
register upon suspend and restore it upon resume. Makes ExpressCard hotplug work on my Dell after a suspend/resume cycle.
2010-06-30Preserve and restore BARs on suspend/resume for all devices, not justMike Larkin
those that have the power management capability. Fixes UHCI(USB 1.1) on a bunch of machines. Tested on a wide variety of amd64 and i386 machines. ok kettenis@, deraadt@
2010-06-29Use new ACPI PCI mapping to get _PRT busJordan Hargrave
Delete old unused code ok kettenis
2010-06-29Fix ramdisks (new code was placed inside a SMALL_KERNEL chunk)Theo de Raadt
2010-06-29Add some missing UHCI and EHCI register restores on resume. Fixes at leastMike Larkin
one broken UHCI on resume. Tested by myself, kettenis, phessler, jsg, pirofti. Doesn't help all machines, but no worse than before on any of them. ok kettenis@, deraadt@
2010-06-29Add support for mapping ACPI to PCI devicesJordan Hargrave
ok kettenis, deraadt
2010-06-29More workarounds adapted from FreeBSD to make the 82577/82578 happy,Jonathan Gray
from Mike Belopuhov and me. looks good reyk@ ok claudio@
2010-06-29Add code to make ahci(4) suspend/resume properly. Probably not perfect yet,Mark Kettenis
but it seems to work reliably on several laptops. ok dlg@ (a while ago), tested by mlarkin@ and marco@
2010-06-29Call bufq_quiesce() on suspend to stop all I/O and bufq_restart on resume.Mark Kettenis
Makes suspend/resume work much better while doing disk I/O. ok mlarkin@
2010-06-29move a little code around, eventually it will be betterTed Unangst
2010-06-29fix a logic error found by lintJonathan Gray
2010-06-29Interface drivers should use DV_IFNET, not DV_DULL.Matthew Dempsky
ok deraadt@
2010-06-2960 is a more reasonable guess for number of minutes in an hour than 100.Ted Unangst
spotted by TeXitoi. ok deraadt
2010-06-28Initial 82578 support from Mike Belopuhov.Jonathan Gray
ok claudio@
2010-06-28Use an SLIST instead of a TAILQ for the ccb free list. Order doesn'tMichael Knudsen
matter, an SLIST is smaller, and the first element is more likely to be in cache. Previously we took from the head and returned to the tail, which meant that we were using the ccb that was the least recently used one which also means it has the smallest chance of being in cache. ok deraadt