| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
For now this only affects RTL8188EU chips, perhaps because the author of this
patch does not own any devices containing any of the other chips (hint hint).
Patch by misha aka Mikhail / mp39590 at gmail
ok mpi@
|
|
From Michael W. Bombardieri. Thanks.
|
|
|
|
|
|
ok mpi@
|
|
routine. From Michael W. Bombardieri <mb at ii.net>. Thanks!
|
|
|
|
|
|
Michael W. Bombardieri <mb at ii.net>
|
|
this with a Suunto D6i dive computer.
|
|
name other iCON devices the way Option does.
|
|
|
|
name other iCON devices the way Option does.
|
|
|
|
This "cleverness" increase the risk of races due to caching and/or
prefetching between the HC and DMA engine. Many of the bug reports
on bugs@ involving memory corruptions in usb_allocmem() should be
easier to diagnose when not avoided with this change.
From Marius Strobl, ok kettenis@
|
|
NULL tests.
ok mpi@
|
|
transfer. Using wMaxSegmentSize for bulk-in could break the rx-path
because xfer length can be smaller than the messages sent by the device.
And using some constant value for rx/tx size is also a bad idea, because
we might be sending messages to the device that are too big for it to
handle them. Therefore use the NCM GET_NTB_PARAMETERS request to query
the device's configuration.
Found, tested, and ok'ed by otto@
|
|
turn on the radio. This is done by encapsulating QMI requests inside
a MBIM message.
Based on prio work by sthen@, tested by Bryan Vyhmeister.
ok sthen@
|
|
|
|
from Bryan Vyhmeister, ok sthen@
|
|
as source and destination never overlap in this case. From
Michael W. Bombardieri <mb at ii.net>.
|
|
the next datagram is zero.
Tested by otto@
ok mpi@ kettnis@ otto@
|
|
of assuming tha the NCM pointer will follow immediately after the header.
Tested by Bryan Vyhmeister and Otte Moerbeek
ok otto
|
|
all HCs.
ok patrick@
|
|
|
|
it instead.
If anything bad happen due to a malformed descriptor it makes no sense
to try to attach a driver, and bail before probing.
This is similar to the change to avoid calling usbd_set_config_index().
|
|
From Michael W. Bombardieri <mb at ii.net>
|
|
OK mikeb@
|
|
OK kettenis@
|
|
in HC drivers.
Only ehci(4) was performing pre & post synchronization completly. Now
pre-synchronization is done in usbd_transfer() and post-synchronization
in usbd_transfer_complete(). This will allow us to remove the partial
synchronization primitives from the pipe handlers.
This is similar to what FreeBSD did in r158998, r164519 and r176203.
From Marius Strobl.
ok kettenis@
|
|
Do not fold multiple DMA synchronizations into one when chaining TRBs
as the ring might wrap.
Add missing "READ" transfer direction from the HC to host when applicable.
From Marius Strobl.
|
|
controller. This register controls whether the controller is in device or
host mode on many dual role controllers and gets reset during a reset of
the controller, placing the controller in (non-functional) idle mode. By
saving and restoring it, we keep the controller in host mode. Since this is
a non-standard register, add a new EHCIF_USBMODE flag and only do the save and
restore if it has been set.
Makes the upper "OTG" port of the Cubox-i work.
ok mpi@, jsg@
|
|
OK deraadt@
|
|
ok jmatthew@, visa@
|
|
Michael W. Bombardieri <mb at ii.net>. Thanks!
|
|
|
|
From Michael W. Bombardieri <mb at ii.net>, thanks!
|
|
From Yannick Gravel, ok phessler@
|
|
|
|
from Yannick Gravel, ok phessler@
|
|
size based on the device speed.
Tested by and ok jsg@, mlarkin@
|
|
from jsg@
|
|
as per section 4.8.2.1 of xHCI specification.
Note that we never got this correctly.
Spotted by and ok jsg@
|
|
|
|
before using it as the ``wMaxPacketSize'' of the default endpoint.
This prevents host controller drivers from using incorrect value, in
particular 0, that makes ehci(4) crash.
While here do the 0xff -> 512 conversion for super speed devices.
Crash found with a facedancer21.
ok deraadt@
|
|
|
|
the ioff argument to pool_init() is unused and has been for many
years, so this replaces it with an ipl argument. because the ipl
will be set on init we no longer need pool_setipl.
most of these changes have been done with coccinelle using the spatch
below. cocci sucks at formatting code though, so i fixed that by hand.
the manpage and subr_pool.c bits i did myself.
ok tedu@ jmatthew@
@ipl@
expression pp;
expression ipl;
expression s, a, o, f, m, p;
@@
-pool_init(pp, s, a, o, f, m, p);
-pool_setipl(pp, ipl);
+pool_init(pp, s, a, ipl, f, m, p);
|
|
Make "# ifconfig axen0 lladdr" work.
ok stsp@, dlg@
|
|
methods from all audio drivers and from the audio_if structure as they
are never called.
|