Age | Commit message (Collapse) | Author |
|
|
|
Patrick Wildt.
|
|
Express Card is plugged with USB devices on it.
While here do not print an unitialized error value if xhci_init() fails,
from Patrick Wildt.
|
|
not enough to attach Super Speed devices below USB 3 hubs, but we're
getting there.
While here reset `acten` when re-enqueuing an interrupt transfers.
|
|
having to
modify various third party apps using the V4L2 API to build on OpenBSD specifically.
"I think this is the right thing to do" miod@
"Fine with me." sthen@
|
|
The previous lack of error handling could trigger a kernel crash
in some situations, with ulptwrite being called while not ready.
ok deraadt phessler
|
|
ok ratchov@, sthen@, mpi@
|
|
|
|
ok mpi@
|
|
transfer. While here remove/fix other XXXs.
|
|
error. Makes Intel Series 7 controllers happy and no longer report an
illegal context state transition when detaching devices.
|
|
this hack in the drivers that need it.
Tested by many, thanks! ok pirofti@, kettenis@
|
|
|
|
|
|
|
|
it to the stack when a Short Transfer condition is reported.
In this dummy implementation the ``Event Data TRB'' of a read control
transfer is the only TRB that can trigger an interrupt without being
the last TRB of a transfer. This is done in order to report the
remaining length of a short transfer. But when that happens, we want
to wait until all Transfer TRBs are completed before passing the xfer
to the stack.
Note that clearing the ISP and IOC flags in all Transfer TRBs like it
is specified in 4.10.1.1.1 might not work in our cases because the HC
has most of the time already processed all Transfer TRBs when the driver
dequeues the events in the softinterrupt path.
While here, use the right spl protection when aborting a xfer.
|
|
prior to calling usbd_new_device().
This will let us set the specified default Max Packet Size before opening
the control pipe and reduces spaghetti!
ok stsp@
|
|
run(4) devices.
ok stsp@
|
|
ok blambert@ doug@
|
|
like urtwn(4) does, to prevent a null dereference of the configuration
descriptor.
Issue reported and fix tested by Ludovic Coues on misc@
|
|
reported by Bryan Linton on bugs@.
|
|
list. Use a queue head per xfer and no longer per pipe. Since queue
heads are now setup when a transfer is submited we do not need to open
the control pipe more than once. This also simplify transfer abortion.
Tested by many, thanks!
|
|
|
|
a driver does not implement a specific *_activate() handler and that our
USB stack sets the dying flag before detaching a device, these specific
handlers can die.
|
|
|
|
each EHCI root hub). OK deraadt@ jsg@
|
|
in the hub, not from some random value from the stack.
|
|
a pointer, found by clang.
|
|
|
|
have a separate function anymore, it is just a wrapper around the "set
address" command.
|
|
with the correct ipl to prevent your CPU from locking against itself.
|
|
in every HC driver.
|
|
the moment only Super and High Speed devices are properly recognized.
Some TT love is required for Full and Low speed devices.
|
|
be able to use USB 3.0 devices behind an external hub.
This is a bit tricky because the SS status use a different power bit
that maps to the Low speed one. So no longer accept devices without
power bit and fallback to the parent hub's speed in case the status
does not report any particular speed.
Note that xhci(4) root hubs still set the traditionnal UPS_PORT_POWER
bit with the correct device speed.
|
|
|
|
to help integrating super speed hubs that use a different descriptor.
|
|
Since asynchronous commands can be submitted from interrupt context
it was possible to race with a process waiting for the completion of
a previously submitted command. So stop relying on the per-softc
TRB pointer for asynchronous commands and simply get the address of
the command TRB from the event TRB.
|
|
time payload. Super speed companion descriptor are still not used but
at least we can properly initialize super speed interrupt pipes.
|
|
|
|
external USB 3.0 hub support.
|
|
transfer stalled, report that a stall happen because umass(4) relies
on this behavior...
|
|
|
|
opened with a callback.
If a driver opens an interrupt pipe without callback function, like
umct(4) does with one of its bulk in endpoints being reported as an
interrupt endpoint, then we can end up aborting a transfer which is
different from the interrupt one.
Issue reported by Roberto E. Vargas Caballero, ok deraadt@
|
|
It seems mpi introduced a problem into ehci.c rev 1.162
two weeks ago. An error check that used to return NULL
now jumps to the end of the function, but sqtd isn't
initialised at that point.
ok miod@ deraadt@
|
|
|
|
|
|
|
|
take away."
remove uyap. no effect except on hppa where it was strangely enabled.
|
|
|
|
ok tedu@, deraadt@
|