summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2015-05-06Use | when combining flags not +. Luckily in this case 1 + 2 == 1 | 2.jsg1-2/+2
ok mlarkin@
2015-05-05Less magic numbershadchin2-5/+5
For PS/2 - status byte - bit 5: The bit is '1' if the data on input port 60h came from the AUX port, or '0' if the data came from the keyboard or from the keyboard controller itself. KBS_TERR (kbd transmission error) was valid for AT-mode, but not for PS/2-mode. ok ratchov@, miod@
2015-05-05Huawei MU609 from Cristián Edwards.mpi1-1/+2
ok dcoppa@
2015-05-05regenmpi2-4/+9
2015-05-05Huawei MU609 from Cristián Edwards.mpi1-1/+2
ok dcoppa@
2015-05-05fix a return path that lacked a rw_exit_write() calljsg1-2/+2
ok kettenis@
2015-05-04Add support for RTL8188EU chips to urtwn(4).stsp2-117/+892
Patch by Mikhail <mp39590@gmail.com>, based on FreeBSD r264912 by kevlo. Tested with 8188EU (TP-Link TL-WN725N). No regression on 8188CUS. There are performance problems with 8188EU devices, cause unknown. These will hopefully be resolved soon. ok mpi@
2015-05-04When writing a value to a field, don't read past the end of the source valuejmatthew1-1/+4
if the field is bigger. Fixes crashes seen on HP bc2500 blades with MP kernels. ok kettenis@
2015-05-04use the size of the buffer not the pointer in resume_randomness()jsg1-2/+2
ok djm@ miod@ deraadt@
2015-05-04Print irq informations in pckbc_set_inputhandler().mpi3-11/+9
ok miod@
2015-05-04Fix some misuse of the | operator. In particular | has higherjsg2-4/+4
precedence than ?: ok guenther@ krw@ miod@
2015-05-03add missing CISS_UNLOCK_SCRATCH/splx callsjsg1-3/+7
ok krw@
2015-05-02Die, damned distracting red space.krw1-46/+46
2015-05-02add missing splx callsjsg3-4/+9
2015-05-01Convert to if_input(), ok miod@mpi1-12/+5
2015-05-01Convert to if_input(), ok miod@mpi4-28/+25
2015-05-01regenjsg2-5/+10
2015-05-01Correct some E5 v2 ids and add E5 v2 R2PCIE.jsg1-4/+5
From Hrvoje Popovski.
2015-04-30Convert to if_input().mpi1-33/+17
ok miod@
2015-04-30Set the correct media type for 1000baseLX SFPs.jsg3-5/+17
Tested by/ok sthen@, ok mikeb@
2015-04-30Allow use of 1Gb 1000baseLX SFPs in 82599 ix(4) SFP+ port. Adapted fromsthen3-3/+18
Linux commit 345be204dcbb. ok jsg@ mikeb@
2015-04-30Link report descriptors to known sensors.mpi1-9/+13
Since HID buffers always start by a reportID we can access the corresponding report descriptor in O(1). Having a list of sensors attached to each report descriptor makes it easier to update all of them with only on I/O request. Note that sensors are attached in depency order on every report list. From David Higgs.
2015-04-30Instead of using a single flat array for all sensors, put all thempi1-34/+62
children of a sensor in a separate structure. Children sensors should only be probbed if their parent is active. This make the dependency tree explicit and will reduce the number of I/O. From David Higgs.
2015-04-30Convert to if_input(), tweak and ok dlg@mpi1-10/+5
2015-04-30No need to set `rcvif', if_input() does it for you!mpi2-4/+2
2015-04-30Convert moar drivers to if_input().mpi12-119/+58
ok dlg@
2015-04-28Fix a memory leak in an error path found by Maxime Villard'sjsg1-1/+2
Brainy Code Scanner.
2015-04-28In rtsx(4), condense the list of support chips in a comment, remove the unusedstsp3-13/+9
F_5227 flag, sort PCI IDs, and fix a typo in a comment. No functional change. from brad
2015-04-27Since upd(4) currently supports a known but limited number of sensors,mpi1-38/+33
parse the HID descriptor multiple times to find them. This logic is necessary to later create a tree of sensors in order to avoid lookups in the hot path for sensors that depend on the value of others. From David Higgs.
2015-04-27with more unit convertion when new sensors will appear.mpi1-20/+29
From David Higgs.
2015-04-27Make use of DEVNAME(), from David Higgs.mpi1-5/+6
2015-04-26Have vio_start() check if the queue is empty.sf1-3/+4
from brad@
2015-04-26vio: Support checksum offloading for IPv4 TXsf1-4/+35
"Looks good to me" brad@
2015-04-26regenstsp2-4/+14
2015-04-26Add IDs for RTL8188ETV and RTL8188EU. From FreeBSD via Mikhail on tech@stsp1-1/+3
2015-04-26regenstsp2-4/+9
2015-04-26Add USB device ID for RTL8812AU. Found in "TP-Link AC1200 T4U" device.stsp1-1/+2
2015-04-26Two extra messages required after sending a baud rate update, as observedjmatthew2-6/+30
in the linux mct_u232 driver, which apparently got them by sniffing usb traffic from the vendor's windows 98 driver. Makes this device work at 115200: umct0 at uhub0 port 2 "Belkin Components F5U109 Serial" rev 1.10/1.02 addr 2 ok dlg@
2015-04-25Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1.jturner1-1/+8
ok deraadt@ jung@ ratchov@
2015-04-24another thinkpad event to ignore; from mp39590@gmailderaadt1-1/+3
2015-04-24vio: If enqueue fails, drop packet.sf1-7/+5
From brad@
2015-04-22Init error to 0 for sdmmc_mem_single_{read,write}_blockjsg1-3/+3
otherwise the value would be uninitialised in the unlikely case of being called with length 0.
2015-04-19Do not truncate possible remaining transfer length.mpi1-2/+3
Reported by Takahiro HAYASHI on bugs@, thanks!
2015-04-19Enable the REG_READ ioctl. A whitelist is used to allowjsg1-3/+1
reading a timestamp off the render ring for the Mesa i965 driver. ok kettenis@
2015-04-18another round of reducing the diff to linuxjsg45-214/+209
2015-04-18Simplify vio_encap() a bit.sf1-7/+5
From brad@
2015-04-18define and use trace macrosjsg10-135/+496
discussed with kettenis
2015-04-18Remove some unused debug functions. If we're interested injsg1-366/+1
these in future we should add i915_debugfs.c
2015-04-18add and use module param macrosjsg6-90/+147
2015-04-17Crank the timeout and decrease the buffer size to not end up droppingmpi1-4/+6
all the entropy provided by the device. Also make sure we match the right endpoint. From Sean Levy based on comments from Andreas Gustafsson who's behind Alea.