summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-08-04Print annoying stuff when re-posting the video, so that people willTheo de Raadt
eventually want to remove their video cards from the list here. ok kettenis
2010-08-04Print supported sleep states.Mark Kettenis
ok marco@, phessler@, deraadt@
2010-08-04Correct a problem reported by Holger Mikolon that turns out to beJonathan Gray
a bug in the initial EP80579 commit from dms that was exposed by gcc4. Lots of help tracking down the block of code at fault from Mike Belopuhov, but I spotted the problem in the end :) ok kettenis@ deraadt@
2010-08-04activate function for suspend/resume; tested by mcbrideTheo de Raadt
2010-08-03if interrupt mapping fails, say soJacob Meuser
ok deraadt
2010-08-03Remove old code that figures out the PCI bus number. The new code gets someMark Kettenis
corner cases right that the old code messed up. As a bonus, this noticibly speeds up booting my Dell XPS M1330. ok deraadt@, marco@, jordan@
2010-08-03no special registers to restore on via chips eitherTheo de Raadt
2010-08-03Don't attempt to set the read or write caches on usb disks. ItKenneth R Westerback
breaks at least one previously working device, as discovered by naddy@. dlg@ confirmed other kernels also avoid attempting this operation on usb disks. ok dlg@ deraadt@
2010-08-03Bring the suspend/resume code of all the Intel wireless drivers in line withMark Kettenis
iwn(4) again. ok deraadt@
2010-08-03Add busy flag so that we don't act on a SCI until a command in progressMarco Peereboom
completes. Written with jordan. ok deraadt
2010-08-03Add support for 82576 fiber adapters based on Intel code in FreeBSD.Jonathan Gray
Thanks to Frédéric URBAN for setting up a test network to develop this on. Tested by various people on copper adapters and fiber support also tested by mickey. ok deraadt@
2010-08-03Use the proper flag for re-enabling certain hardware events (power btn,Mike Larkin
sleep btn). The (incorrect) flag prevoiously used coincidentally had the same value, so this shouldn't cause any different behavior than before. tested on a variety of machines (i386, amd64, sp, mp) - no behavioral change seen ok deraadt@
2010-08-03Disable hardware VLAN stripping/insertion on 8257[56] for now. WhileJonathan Gray
stripping works insertion seems to have trouble in certain conditions, which needs to be fixed before we want to enable hardware support for this. ok deraadt@
2010-08-03Correct use of logical and where binary and was intended.Jonathan Gray
Spotted by lint, but mirrors a similiar change in the original FreeBSD code from over a year ago. ok deraadt@
2010-08-03Save/restore BLC_HIST_CTL as well at suspend/resume time; which allowsTheo de Raadt
the x40 LCD to light up after unsuspend. https://bugzilla.kernel.org/attachment.cgi?id=23409 https://bugzilla.kernel.org/show_bug.cgi?id=10985 ok oga
2010-08-03matthew did not commit the diff he passed around for us to inspect...Theo de Raadt
repair that situation. Darn newbies...
2010-08-03If an asynchronous request invalidates a buf, then we might remove itMatthew Dempsky
from its vnode's buffer cache in an interrupt context. Therefore we need interrupt protection when searching the buffer red-black tree. ok deraadt@, thib@, art@
2010-08-02Handle USB_GET_REPORT, USB_GET_REPORT_DESC, USB_GET_REPORT_ID andMiod Vallat
USB_SET_REPORT ioctls in ukbd and ums. This allows usbhidctl to be used on these devices e.g. to dump the report descriptor of troublesome models. ok deraadt@
2010-08-02Don't refer to xs->cmd, even via a pointer to xs->cmd, after xs hasKenneth R Westerback
been put back in the pool. Fixes Daniel Dickman's ses device. ok matthew@ deraadt@
2010-08-02Make MHZ_TO_PLL safer to use by adding parenthesis. Fixes a potential issueMark Kettenis
in agten(4) uncovered by gcc4. ok miod@, deraadt@
2010-08-02Fix knote handling for exiting processes: when triggering a NOTE_EXITPhilip Guenthe
knote, remove it from the process's klist; after handling those, remove and drop any remaining knotes from the process's klist. Ban attaching knotes to processes that have started exiting or attaching them via the pid of a thread other than the main thread. ok tedu@, deraadt@
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 deraadt@
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@