summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-08-02There is no reason to call the start function upon resume; the network stackMark Kettenis
is perfectly capable to get things going again all by itself. ok damien@, deraadt@
2010-08-02The EC GPE is always edge. edge interrupts have their STS bit resetTheo de Raadt
at interrupt reception; level interrupts have STS cleared when processing is complete. Since the STS has already been reset at interrupt reception we should not reset late.. Found by marco
2010-08-02Add System Enclosure or Chassis structure.Marco Peereboom
ok deraadt
2010-08-02enable owctrTheo de Raadt
2010-08-02Quirk for USB_PRODUCT_MICROSOFT_WLINTELLIMOUSE turns out not to beMiod Vallat
required; PR 6436 ok deraadt@
2010-08-02jmicron code was writing to the wrong register; ok jsgTheo de Raadt
2010-08-02Prevent illegal struct casting by moving AF_INET/AF_INET6 addressMatthew Dempsky
family checks before calling ifatoia/ifatoia6. ok deraadt@, dlg@, mcbride@
2010-08-02Save/restore more registers at suspend/resume for those chips which lookTheo de Raadt
like they need it. (Or don't, when it appears they don't need it)
2010-08-02correct header file stuff; pointed out by teduTheo de Raadt
2010-08-02needs explicit proc.h; Nathanael RensenTheo de Raadt
2010-08-02spellinTheo de Raadt
2010-08-02Fix readlink(2) on FFS and ext2 filesystems to consistently returnMatthew Dempsky
EFAULT when appropriate. ok deraadt@, miod@
2010-08-01Change COM_IBUFSIZE 8K to 16K because 8K is not enough for CDMA1X cardYASUOKA Masahiko
by KDDI.
2010-08-01Be more generous when parsing the report descriptor:Miod Vallat
- parts of the report descriptor not in a format we expect are now ignored, instead of preventing attachment (e.g. hypothetical multi-bit modifiers). - modifiers beyond MAXMOD are ignored. - keycode arrays larger than MAXKEYCODE are clamped to MAXKEYCODE instead of being rejected. - multiple keycode arrays are ignored. This should allow rogue keyboards to attach and be usable up to a certain extent. Adapted from a diff sent by Loganaden Velvindron (first name at gmail), who has a keyboard which keycode array is larger than MAXKEYCODE (but, like most if not all USB keyboards out there, can only report up to three simultaneous keypresses anyway).
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