summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-08-01Read status register after all writes to the pcf8584 controller. AlegedlyMark Kettenis
this is what (Open)Solaris does and it makes the i2c controller on the blade2.5k work. From NetBSD. Tested by sthen@, ok deraadt@
2010-08-01Small cleanup of the fpu switching code; don't rely on the fact the HFP_REGSMark Kettenis
is actually zero and remove a redundant instruction. ok jsing@
2010-08-01ANSIfyMark Kettenis
2010-07-31remove references to ``opl'', since it doesn't exist any longerAlexandre Ratchov
noticed by brad
2010-07-31Ignore the PSL_VEC bit in the sigcontext and always copy the bit out fromMark Kettenis
the trap frame. The Altivec unit might have been stolen away from us while we were running the signal handler, so it is ok that the two don't agree. Fixes the X server mysteriously exiting (and seemingly freeze). ok miod@, drahn@
2010-07-31another pair of files which relied on mbuf.h for pool.h; should be the last,Bret Lambert
as the kernel now compiles w/o ``#include <sys/pool.h>'' in mbuf.h; removing that line, though, is for another day, as a userland program (systat, IIRC) fails to build without it there. ok krw@
2010-07-31SyncKenneth R Westerback
2010-07-31Add NVIDIA 0x07e1 == GeForce 7100, now that new driver will supportKenneth R Westerback
it. Seen on my Acer Aspire X1800.
2010-07-31add support for M-audio Audiophile 192kAlexandre Ratchov
2010-07-31regenMiod Vallat
2010-07-31Support extra F-keys (up to F24) on HID keyboards.Miod Vallat
2010-07-31Factorization of the bluetooth and usb hid input driver logic, to reduce codeMiod Vallat
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
2010-07-31The code referencing urndis_watchdog() is #if 0'd out, but the actualMichael Knudsen
function is not. This change #if 0's urndis_watchdog() and some functions that are only called from here. At some point we probably want to use the watchdog functionality but the current code is completely untested so disable it entirely rather than enabling it this close to release.
2010-07-31add SA3_XXX macros removed by mistake with opl, but used by ym mixerAlexandre Ratchov
from mk@
2010-07-31unbreak ym.c, opl3sa3reg.h doesn't exist any longerAlexandre Ratchov
noticed by mk@
2010-07-31Break some really long lines.Michael Knudsen
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-31fix typo preventing compilation with AUDIO_DEBUGAlexandre Ratchov
2010-07-31check for audio stream and control interface descriptors in theJacob Meuser
device configuration descriptor in the match() function. stops midi devices from attaching as uaudio then bailing out, leaving a phantom uaudio.
2010-07-30When converting a floating value to an integer, properly raise the "invalid"Mark Kettenis
exception when the floating value is infinite or NaN or if the integral part of the floating value exceeds the range of the integer type, as required by the C99/IEEE754 standard. Fixes Python 2.6 build on hppa. ok miod@
2010-07-30Don't reset pms/pmsi devices when attempting to set the mode. Makes nicm@'s,Kenneth R Westerback
todd@'s and my machines all work as expected. Various other success stories and no reports of failures. Also fix DEBUG compiles by removing a return that was unneeded anyway. "gud" miod@
2010-07-30The device table entry for HD3470 was incorrectly using a logical orJonathan Gray
instead of a binary or. Found via lint. ok oga@
2010-07-30Remove unused header file.Miod Vallat
2010-07-29Don't set sc_ec until after the EC registers are mapped, but before weMark Kettenis
execute the _REG method to make the EC available to the AML. ok marco@
2010-07-29sort pool.h into the list of includes alphabeticallyBret Lambert
pointed out by kettenis@, ok miod@
2010-07-29#include <sys/pool.h> directly, instead of relying on mbuf.h to inlcude itBret Lambert
ok miod@ tedu@
2010-07-29Don't forget to register the i8254-based timecounter if we use the i8254Mark Kettenis
for clock interrupts. Unbreaks amd64 in PIC mode.
2010-07-29Add some more devices. -mojMats O Jansson
2010-07-29syncMats O Jansson
2010-07-29Add some more displaylink devices. -mojMats O Jansson
2010-07-29flag if an error during attach caused us to detach our resources, andJacob Meuser
if so, don't do anything on suspend/resume. should fix crash reported by mlarkin.
2010-07-29Zero out the firmware waking vector on successful resume from ACPI sleep.Mike Larkin
ok deraadt@
2010-07-28DVD_INVALIDATE_AGID is a 'no payload' operation, so don't setKenneth R Westerback
xs->datalen and reset xs->data to NULL. This prevents a spurious attempt to setup (dma map, etc) and possibly attempt data tranfser. In line with what Linux and FreeBSD do as far as I can tell. Reduces the delay before my DVD starts playing its movie. Idea to also set xs->data to NULL from matthew@. "No objection" matthew@
2010-07-28Add a dummy kqueue filter similar to seltrue and use it for anythingNicholas Marriott
using seltrue for poll. Based on code from NetBSD. Also remove a stray duplicate lpt entry from loongson, from deraadt. ok tedu deraadt
2010-07-28Suspending drivers need to do as little as possible in here, so when theTheo de Raadt
transition is to INIT, try to not generate management frames if we can avoid it. ok damien
2010-07-28Make legacy xxpower() functions call xxstop() on suspend, and simplify theirTheo de Raadt
resume paths. For new-style suspend/resume, add a ca_activate function where it is missing, and use a workq to resume because these drivers like to sleep. ok damien
2010-07-28the default pciide chip needs no additional register restores; tested by jcs ↵Theo de Raadt
on one model
2010-07-28more #ifdef needed for the case of not pegging on a non-MP kernelTheo de Raadt
2010-07-28remove stub code for rw locks we will never need; ok kettenis marcoTheo de Raadt
2010-07-28It's pretty pointless to peg ourselves to the primary CPU if that's theMark Kettenis
only one we have. ok krw@, deraadt@
2010-07-28suspend save/restore for SIS3112; tested by mlarkinTheo de Raadt
2010-07-28Make all gasio failures look and behave the same.Marco Peereboom
2010-07-28Delay a little longer on suspend before giving up. Fixes machines thatMike Larkin
sometimes don't suspend because the sleep transition takes too long (symptoms like failing to sleep but the backlight stays on). ok deraadt@
2010-07-28pfsync_bulk_fail was mucking around with pfsync_softc and sending packetsDavid Gwynne
without holding splsoftnet. this adds the necessary protection. reported by patrick coleman
2010-07-28No need to bzero() malloc'd memory if we used M_ZERO.Kenneth R Westerback
ok matthew@
2010-07-27remove an ancient XXXTheo de Raadt
2010-07-27remove XXX; EC can now be attached early when needed; ok jordanTheo de Raadt
2010-07-27more brackets feels goodTheo de Raadt
2010-07-27XXX annotate a block in acpi_enter_sleep_state() that is pretty worryingTheo de Raadt
2010-07-27do not match a 2nd EC if something horrible happens; ok marcoTheo de Raadt