Age | Commit message (Collapse) | Author |
|
ok jan@
|
|
ok deraadt@
|
|
ok mpi@
|
|
|
|
IF_WIRELESS_DEFAULT_PRIORITY and use it in umb(4) as default prio.
OK kettenis@, sthen@
|
|
Cody Cutler author of ukspan(4) agrees
ok deraadt@
|
|
timed out. If usbd_get_desc() returns USBD_TIMEOUT the chance is high
that the next call will do the same and it slows down attachement of
devices a lot. Makes reattaching USB at resume a lot faster with my
umb(4) card (which likes to time out).
"move fast and fix things" deraadt@
|
|
UPGT_LED_ACTION_TMP_DUR is 100ms, avoid converting to Hz and back again.
OK kevlo
|
|
The timeval is used to represent 100ms, which are converted to Hz so they
can be converted back - simplify this by using the new ms interface
directly.
Tested and OK kevlo
|
|
Analysed by and ok claudio@
|
|
written by Cody Cutler <ccutler at csail.mit.edu>
|
|
|
|
|
|
devices which have padding between finger data
tested on an older model by bru@
|
|
ok ratchov@
|
|
|
|
ok mpi@
|
|
Currently we send the request to the unit indicated as clock source of
the terminals, which may be a clock selector unit that doesn't support
the request. Fix this by following the clock source path until the
clock source unit is found.
|
|
a random streaming iface.
|
|
Even if having multiple control interface descriptors is not allowed
by the UAC spec, there's no reason to stop as long as a proper control
interface was processed.
|
|
chromebooks.
ok deraadt@
|
|
chromebooks.
ok deraadt@
|
|
|
|
|
|
Fixes STALL errors in mixer requests causing the mixer to be unusable.
With help from Claus <claus at mailbox.org>. Thanks.
|
|
ok mpi
|
|
in x_media_change(), return the errno from ieee80211_media_change() and
do the error check from x_init().
ok stsp@, jmatthew@, phessler@
|
|
ok deraadt@ phessler@ sthen@
|
|
|
|
ok deraadt@ phessler@ sthen@
|
|
ok deraadt
|
|
After each MSE, ensuire usbd_complete_transfer() is called for each
missed transfer, for which there's no transfer completion event. Fixes
crashes and deadlocks in upper layers caused by the missing
completion.
ok deraadt, patrick; help from mpi, patrick, gmlocker
|
|
Based on FreeBSD r346028, this fixes ure(4) not detected after a reboot.
ok deraadt@
|
|
This makes the code less bug prone as the "rare" underruns
conditions are handled by the main non-underrun code.
|
|
|
|
No behavior change as we don't call uaudio_pdata_copy() in situations
when bounce buffers may not be available.
|
|
No behavior change. The new representation is equivalent but eases
detection of overflows and underflows.
|
|
|
|
Even though these chips implement the standard USB CDC class protocol
we need a separate driver to be able to disable hardware flow control.
Hardware flow control is automatically enabled in CDC mode but if the
relevant lines aren't connected this prevents the chip from getting
input.
ok deraadt@
|
|
|
|
ok deraadt@
|
|
|
|
|
|
|
|
At least my uaudio(4) over ohci is encountering a fair amount of USBD_IOERROR
when the system is busy (most probably because the deadline is missed because
of the big lock being hold). With this in, playing music while running a
make build no longer stops after a few seconds.
OK ratchov@
|
|
code in xhci_event_xfer() to the generic handler function.
suggested and ok mpi@
|
|
functions for isoc and !isoc xfers.
Suggested by mpi@.
ok patrick@, stsp@
|
|
|
|
to one single function.
ok mpi@
|
|
frame has to be enqueued as Transfer Descriptor. This means each frame
starts with an isoch TRB and may also contain further normal TRBs. The
TDs each throw at least one interrupt for a successful completion or
possibly more in case of a short xfer. We have to account the amount
of data transfered for each frame using the completion of the matching
TD and its TRBs.
Thanks to stsp@ for initiating this, and many more thanks to mglocker@
for reworking and cleaning up my initial diff. Further improvements
can happen in-tree now.
Tested by mglocker@, phessler@ and stsp@
ok mglocker@, stsp@
|