summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-11-23must return result of config_activate_childrenTheo de Raadt
2009-11-23pci should return the result of it's children's suspend/resume calls backMike Larkin
to its parent. handle suspend failure case and unwind if devices have an activate function that returns failure. ok deraadt@, kettenis@
2009-11-23Add azalia(4) suspend/resume stabs, now some laptops can go all the way.Paul Irofti
Okay deraadt@.
2009-11-23Pad the ringbuffer with NOOPs before wrapping around, instead ofOwain Ainsworth
wrapping our commands over. The documentation says that wrap must not happen in the middle of commands. and upstream have seen some odd bugs that may be attributed to this. Based on a diff by Chris Wilson (ickle) from Intel to the linux driver.
2009-11-23prevent interrupts storm when the radio switch is turned off whileDamien Bergamini
the interface is up and running by properly clearing the condition.
2009-11-23Add uthum(4) device driver for TEMPerHUM USB temperature andYojiro Uo
humidity sensor. ok deraadt@
2009-11-23suppress warning massage for polling only HID devices.Yojiro Uo
2009-11-23move things from athn_attach() to athn_init() such that we canDamien Bergamini
power off the cardbus slot after athn_attach() and in athn_stop().
2009-11-23remove a debug printf that won't compile anymore.Owain Ainsworth
2009-11-23G4X chipsets actually have a slightly larger vblank counter register,Owain Ainsworth
so tell the vblank layer this. from upstream, ages ago.
2009-11-23Make it so that instead of grabbing and ungrabbing the spinlock one line apart,Owain Ainsworth
we just grab it once and drop it when we're done. will reduce spl/splx wrangling. While here, clean it up a little bit.
2009-11-23cleanup athn_set_key (not used yet.)Damien Bergamini
2009-11-23nuke some prototypes from functions that died a fair while ago.Owain Ainsworth
2009-11-23Suspend/resume goop for inteldrm, essentially a big pile of save/restoreOwain Ainsworth
registers (man these things have a lot of state!). ok pirofti@ (who did the activate function and tested).
2009-11-23acpi* devices need to call their children on suspend/resume.Mike Larkin
ok deraadt@
2009-11-23remove a global that i used to test protection modes.Damien Bergamini
2009-11-23Later on this will do much more work on suspend/resume, but for nowTheo de Raadt
it must call it's children. ok kettenis
2009-11-23Bring elink3 at least a bit into the new world. It used to have some superClaudio Jeker
scary mbuf chache that caused massive problems. Now we just pre-allocate empty mbuf cluster for later use. Diff mostly from deraadt@ with some minor changes by myself. Tested with pcmcia ep(4) by myself. OK deraadt@
2009-11-23Improve discipline specific ioctl framework and attach to softraid ioctl.Joel Sing
ok marco@
2009-11-23Remove ACPI_SLEEP_ENABLED checks.Paul Irofti
This enables by default the suspend/resume paths in the kernel. Okay deraadt@.
2009-11-23Walk our children in the activate function.Theo de Raadt
ok mlarkin pirofti
2009-11-23better style is DVACT_SUSPEND before DVACT_RESUMETheo de Raadt
2009-11-23knf and spacing that are super annoyingTheo de Raadt
2009-11-23knfTheo de Raadt
2009-11-23Add missing acpivar.h changes from previous commit.Mike Larkin
2009-11-23regenYojiro Uo
2009-11-23Hook up Theo's new children suspend/resume function, as well as more ACPIMike Larkin
suspend/resume glue. ok deraadt@
2009-11-23add some usb vendors and products to syncYojiro Uo
2009-11-23regenYojiro Uo
2009-11-23add new umsm type modems: Softbank C01SW (Sierra OEM) andYojiro Uo
Emobile H12HW (Huawei OEM) ok jsg@
2009-11-23add USB_GET_DEVICEINFO and USB_GET_STRING_DESC ioctl to the uhid(4).Yojiro Uo
ok jsg@ deraadt@
2009-11-23regenYojiro Uo
2009-11-23add netmos nm9901 and NEC USB host controllerYojiro Uo
ok deraadt@
2009-11-23bnx(4) is a bit special. The chip itself is capable of swapping endianessClaudio Jeker
so there is no need for htoleXX calls. The only thing needed is the correct layout of the DMA-ed structures. Additionally it uses PAGE_SIZE but assumed that it is always 4k. Fix the macros that failed to respect that so that it works on 8k PAGE_SIZE systems. This makes bnx(4) work on sparc64. Tested on amd64 by dlg@. OK dlg@, deraadt@
2009-11-23add NetMos NM9901 multiple peripheral board supportYojiro Uo
ok deraadt@
2009-11-23Fix pckbd and acpihpet suspend/resume cases to fit with the future frameworkPaul Irofti
that's going to get in really soon. Okay mlarkin@, deraadt@.
2009-11-23PCI suspend/resume plumbing. This code is currently not called.Mike Larkin
ok kettenis@
2009-11-22add a bunch of devices found in linux driversJonathan Gray
2009-11-22regenJonathan Gray
2009-11-22add a bunch of Ethernet and zyd devices found in linux drivers.Jonathan Gray
2009-11-22Add a framework for discipline specific ioctls.Joel Sing
ok marco@
2009-11-22Ensure that chunks are not already in use when creating a volume.Joel Sing
ok marco@
2009-11-22Bring last drivers fully into the NO_CCB world by replacingKenneth R Westerback
TRY_AGAIN_LATER uses with equivalent NO_CCB. Eliminates confusion between the two as was always intended. buf I/O's that can't be started get pushed back onto the front of the queue and retried. Others get sent back to originator as failures. No more epi-cycle looping inside the SCSI midlayer hoping the problem goes away. Various testers, no objection from miod@ as vs(4) was tested by nick@.
2009-11-22Probe modes for SATA disks, makes CF behind SATA work and givesJonathan Gray
more speed to things like SSDs that do UDMA 6. Tested by many.
2009-11-22syncKevin Lo
2009-11-22add the Terminus Technology vendor id found on VIA VT6571Kevin Lo
2009-11-22fix RTS/CTS and CTS-to-self protection modes.Damien Bergamini
fix 802.11a TXTIME computation (802.11a has a 16us SIFS interval but does not have the 6us signal extension that ERP-OFDM has so we can use the same code for 11a and 11g provided that we add the SIFS nterval in the athn_txtime() function itself.)
2009-11-21tyypoMiod Vallat
2009-11-21make the led blink during a scan.Damien Bergamini
prodded by deraadt
2009-11-21debug offDamien Bergamini
reminded by deraadt