Age | Commit message (Collapse) | Author |
|
this break some devices.
As found the hardway by Hugo Sastre via sobrado@
|
|
found the hard way by sebastia@ four years ago, and I'd been sitting on that
diff since.
The initial diff was more aggressive and would free the mmap queue upon error,
but jakemsr@ had objections against this behaviour; this diff only fails
gracefully instead of panic'ing.
|
|
|
|
|
|
|
|
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
|
|
when an isochronous transfer is done.
Frame lengths are just input values and no driver mess with them.
ok ratchov@, jmatthew@
|
|
There's not bit to indicate the speed of a USB3.0 device attached to a hub
port so do not abuse the PORT_TEST bit. Instead make the xhci(4) root hub
report the PORT_POWER_SS bit when appropriate and use it to determin the
speed of a new device.
While here make the root hub report the link state and config error, from
FreeBSD.
|
|
ok uaa@
|
|
ok by mpi@
|
|
|
|
Tested by jsg@
|
|
|
|
Most of the WiFi/Ethernet USB adapter only have one configuration and always
use its first interface. In order to improve USB descriptors parsing start
by reducing the number of places where a configuration is set.
Tested by jsg@
|
|
fixes tap-to-click
|
|
|
|
|
|
Add some additional uslcom ids found in the Linux driver while here.
|
|
|
|
Add some additional uslcom ids found in the Linux driver while here.
|
|
been found: it was a hardware failure.
When a bus is explored, do not probe the ports which status hasn't
changed. This saves a lot of I/O when attaching/detaching devices
and might help with some timing related problems.
|
|
This reduces differences between non-isoch and isoch transfers submissions,
makes the generic DMA buffer overrun check work with isoch transfers and
will allow some code simplifications in HC drivers.
Since short-transfers were never checked for isoch transfers, we now need to
pass the USBD_SHORT_XFER_OK flag to not change this behavior. This might be
revisited later.
ok ratchov@
|
|
Most of the WiFi/Ethernet USB adapter only have one configuration and always
use its first interface. In order to improve USB descriptors parsing start
by reducing the number of places where a configuration is set.
Tests & ok stsp@
|
|
|
|
more or less the same shape.
ok uebayasi@
|
|
requested by mpi@
|
|
panics on shutdown with various usb sticks.
ok mpi@
|
|
On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by
controlled explosives. So this is not coming back and we can tedu the
support for HBG form the DCF77 drivers.
Remided by mbalmer
|
|
From FreeBSD, OK mpi
|
|
|
|
Fix a panic reported by landry@ with Android's ADB.
Tested and ok ajacoutot@
|
|
|
|
ok djm@ jsg@
|
|
sensors only if it is present, From David Higgs.
Fix a regression reported by and ok halex@
|
|
Match additional devices (RTL8188CU_3, DWA123D1, DWA125D1).
Fix efuse reading (fixes potential error in MAC address read from efuse).
Replace some magic numbers with macros.
Based on FreeBSD r270191, r273589, r281918, r281592, r282119, and r282623
via Mikhail mp39590@gmail on tech@
ok sthen@
|
|
from FreeBSD r282623 via Mikhail mp39590@gmail on tech@
|
|
|
|
|
|
from FreeBSD via Mikhail mp39590@gmail on tech@
|
|
From David Higgs.
|
|
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi
ok armani@
|
|
With 11b APs the firmware retries excessively unless we force it into
11b-only mode instead of mixed b/g. Perhaps a firmware bug, perhaps
a bug in our code elsewhere. For now, this makes it work.
ok kettenis
|
|
Repair firmware reset on RTL8188CUS devices (and perhaps others) by
restoring the proper register write order in the non-8188EU code path.
Fixes "urtwn0: timeout waiting for firmware readiness" after device reset.
|
|
ok dcoppa@
|
|
|
|
ok dcoppa@
|
|
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@
|
|
|
|
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.
|
|
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.
|