| Age | Commit message (Collapse) | Author | Files | Lines |
|
Currently attaches as a single child of uhidev(4) and offers basic
pointer functionalities.
|
|
|
|
|
|
function for parsing and checking endpoint descriptors.
More checks will be added later to prevent malformed descriptors of
being used.
|
|
|
|
attaching to his hub, which works poorly...
ok jsg kettenis
|
|
shortly when we use the hardware thread register in userland
|
|
These descriptors are filled with value parsed from untrusted USB
descriptors and we don't want to left memory unitialized if an error
occurs during the parsing.
|
|
descriptors.
No functionnal change.
|
|
to NULL.
Prevent a use after free triggerable with invalid interface descriptor.
Found with umap2 and a facedancer21.
|
|
descriptor with a bad type.
Found with umap2 and a facedancer21.
|
|
do 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.
|
|
|
|
ok millert@ stsp@
|
|
|
|
shorten and simplify code.
No intentional functional change.
|
|
UFI command sets. Probe all the LUNs a device reports instead of
assuming ATAPI and UFI devices always have 1 LUN.
Motivated by the device David Vasek reported as claiming to be
ATAPI but wanting to use >1 LUN. Committing quickly to smoke out
the inevitable device that works in the exact opposite way. All
hail USB.
ok kettenis@
|
|
ok claudio@
|
|
Some code paths in this driver peek at ic_htcaps and act upon it, so let's
play it safe until this driver gets its 11n support enabled on purpose.
Spotted while investigating the bug fixed in r1.35.
|
|
ok deraadt@
|
|
ok mpi@
|
|
the IFF_RUNNING flag was set since last November (r1.138).
Apparently nobody is using this driver, except for martijn@.
Fix tested by martijn@ and myself.
ok dlg@
|
|
This should hopefully help people reporting errors with SB700.
From FreeBSD, ok kettenis@, krw@
|
|
ported from FreeBSD.
ok dereaadt@
|
|
ok mpi deraadt gerhard
|
|
both NCM 1.0 and MBIM.
ok gerhard@
|
|
ok gerhard@
|
|
in the file sys/dev/ic/rtwn.c. This reduces kernel bloat and will make it
easier to have both drivers benefit from future enhancements.
ok mpi@
|
|
to finish on close.
Tested and ok Patrick Keshishian
ok mpi
|
|
The umb(4) driver provides support for USB MBIM devices.
Those devices establish connections via celluar networks such as
GPRS, UMTS, and LTE.
ok mpi@ sthen@
additional feedback from deraadt@ jmc@ stsp@ kettenis@
|
|
to deactivate our children.
ok mglocker@
|
|
|
|
are constants; save two more ints.
From Patrick Keshishian
ok mpi
|
|
utvfu_match().
From Patrick Keshishian
ok mpi
|
|
And as a result get rid of a few defines/flags.
* Fix _as_close() to and audio bulk thread exit.
* Change sc->sc_as_running into a flag; save an int.
From Patrick Keshishian
ok mpi
|
|
of dev->dying. With this we also can use them on device closing, not just
detaching.
ok mpi
|
|
Should prevent a race triggering a use-after-free reported by
martijn@ on bugs@
|
|
ok stsp@ kettenis@
|
|
ok stsp@ kettenis@
|
|
From Lubomir Rintel via Patrick Keshish
|
|
includes (yes, that is a bug, but the tree should compile now.
In particular: sparc64
|
|
ok mpi@
|
|
With this we can get rid of the sc_mmap_cur variable to query the buffer
queue for a free slot.
Remove resetting of the V4L2_BUF_FLAG_MAPPED buffer flag while here. It's
enough when it gets set initially by uvideo_reqbufs().
Initial diff from Patrick Keshishian, thanks!
ok mpi
|
|
|
|
Fushicai USBTV007 chip.
The chip specific code has been written by Lubomir Rintel and Federico
Simoncelli. Patrick Keshishian has ported it to OpenBSD and wrote the
remaining code based on uvideo(4).
Input and help also from mpi@ and ratchov@.
ok mpi
|
|
|
|
|
|
alternate interface endpoint instead statically on interface 0.
Fix duplicate DPRINTF output while there.
Initial diff from Patrick Keshishian, thanks!
|
|
store the alternate video interface number already.
From Patrick Keshishian, thanks!
|
|
ok deraadt@
|