Age | Commit message (Collapse) | Author |
|
|
|
ok shadchin@ some weeks ago.
|
|
from impatiens@gmail.com
|
|
|
|
|
|
From Chris Turner <c.turner(at)199technologies(dot)com>
OK sthen@
|
|
From Chris Turner <c.turner(at)199technologies(dot)com>
OK sthen@
|
|
From bsd.user(at)mail(dot)ru
ok jsg@, sthen@
|
|
From bsd.user(at)mail(dot)ru
ok jsg@, sthen@
|
|
ok dlg@
|
|
|
|
|
|
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
|
parentheses where needed to get the resulting mask right.
ok krw@ yuo@ deraadt@
|
|
SCSI_NO_ADAPTER_TARGET instead of a two target bus with a reserved
"host" target.
ok krw@
|
|
ok jsg@
|
|
|
|
ok jsg@
|
|
|
|
|
|
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
|
add a bit more locking in the open function.
originally spotted by matthew, ok matthew miod
|
|
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
|
the obvious cases to return EINVAL and ENXIO.
ok tedu deraadt
|
|
This one wanted some more comments before commit.
|
|
If one of the usb calls we did here failed we'd return immediately and
not free our buffer.
ok miod@
|
|
|
|
|
|
|
|
ok deraadt@
|
|
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is
pointless (malloc() will panic if it can't allocate) so remove the check
and the call.
2) Allocating with M_WAITOK, checking for NULL, and then gracefully
handling failure to allocate is pointless. Instead also pass M_CANFAIL
so malloc() doesn't panic so we can actually handle it gracefully.
1) was done using Coccinelle.
Input from oga.
ok miod.
|
|
Slightly changed version of a diff from Martin Furter.
|
|
|
|
from Martin Furter
|
|
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an
ATA bus, so umass(4) shouldn't care about it.
ok krw@, dlg@; no objections from deraadt@
|
|
It may be possible to use better heuristics to detect compatible devices
(Linux driver appears to hand over from CDC to urndis) which would avoid
listing IDs, but this gets tethering working on this phone for now.
|
|
|
|
|
|
used to "do things later" and was potentially sleeping in swapper
context. the latter is really bad, because it might never wake up.
instead, move the things that usb_first_explore() was doing to the
first run of the explore task. since tasks are run in a kthread,
they are in process context and ok to sleep.
fixes boot hang noticed by jsg@, which mikeb@ debugged and found
usb_first_explore() to be sleeping swapper context
|
|
|
|
|
|
the USB serial number so as to limit the overall devid to just 20
characters.
"Lovely!" deraadt@
|
|
from a USB serial number, as recommended by the umass spec.
ok dlg@
|
|
means the data size of a frame can be calculated if the dimensions
are known.
* calculate frame data sizes for uncompressed formats instead of believing
what the hardware says. the UVC spec changed between 1.0 and 1.1, and
as a result, some devices return bogus information.
* skip under-sized as well as over-sized uncompressed frames; there is
only one correct size for uncompressed frames.
* remove quirk to fix uncompressed frame sizes on certain devices,
since that now always happens.
* check that the device is actually using the parameters we think it's
using.
|
|
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
|
it up by using the usb devices iSerial thing.
ok deraadt@
|
|
ok mikeb@ deraadt@
|
|
"reads OK" claudio@
|
|
|
|
correctly handle this in the failure case.
|