| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* check the dying flag in timeout and interrupt handlers
fixes crash when disconnecting cardbus usb adapters
|
|
|
|
| |
routine
|
|
|
|
|
|
| |
uhci_device_setintr().
ok jakemsr@
|
|
|
|
|
| |
failure and return USBD_NOMEM, callers will do TRT.
ok jakemser@ deraadt@ kettenis@ tedu@
|
|
|
|
|
|
|
|
|
|
|
| |
be run from the generic task kthread, because xfers that need to be
aborted block newly queued tasks from running (i.e. the xfer to be aborted
blocks the abort of that task). as there are now three types of usb
tasks, add an argument to usb_init_task() and another member to struct
usb_task to specify the task type.
fixes boot hangs that are showing up because we now use usb tasks to
attach/detach usb devices.
|
|
|
|
|
|
| |
for now. But since it is not being handled, do not ack it on the
chip.
Discussed with kettenis a while back
|
|
|
|
|
|
| |
that crept in with rev 1.77, spotted by the clang static analyser.
ok deraadt@
|
|
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
| |
|
| |
|
|
|
|
|
| |
It is OK to return 0 in that case, but it is not OK to print a
diagnostic.
|
|
|
|
|
| |
functions
ok kettenis
|
|
|
|
|
|
|
| |
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections
|
|
|
|
| |
ok marco@ oga@ miod@
|
|
|
|
|
| |
the suspend and resume operations
ok kettenis
|
|
|
|
| |
ok jsing@, miod@
|
|
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
| |
curlen -= curlen % mps;
can for very large transfers result in an intermediate variable growing
larger than it should. Probably can't really happen in the real world.
Do the same u_int repairs to the other matching drivers
ok blambert kjell miod kettenis
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
add new quirk entry for uvideo which is required isoc transfer.
Some usb2.0 devices use isochronous transfer but current usb
subsystem does not support isoc transfer in ehci(usb2.0) bus.
This patch introduce new psuedo usb hub request UHF_PORT_DISOWN_TO_1_1
to handover the device to ehci to usb1.1 bus(ohci or uhci).
ok mglocker@ deraadt@ fgsch@
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
| |
|
|
|
|
| |
from netbsd via dragonfly. pointed by theo. ok by many.
|
| |
|
|
|
|
| |
prompted and "much better" by marco@, ok pyr@
|
| |
|
|
|
|
|
|
| |
From Marc Winiger <mw@msys.ch>
ok dlg, claudio.
|
|
|
|
|
|
|
|
| |
(which was used to define USB_USE_SOFTINTR).
No binary changes.
ok dlg, mk.
|
|
|
|
|
|
| |
used.
ok jsg.
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
|
|
|
| |
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg
for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
|
|
|
|
|
|
|
|
| |
were used as a layer of confusion^Wabstraction around the timeout(9) API.
No binary change.
ok jsg.
|
|
|
|
|
|
|
| |
and it was not consistently used. It was confusing as it suggested these
functions were static, which they were not.
discussed with dlg and jsg, ok jsg.
|
| |
|
| |
|
|
|
|
| |
From dunceor@gmail.com
|
|
|
|
|
|
|
|
| |
Save SOF (frame timing adjustment) before the very first host controller
reset, rather than at suspend/resume, otherwise any BIOS inserted value
is lost immediately.
ok dlg@
|
|
|
|
|
|
|
|
|
| |
time.
Chris; Get your shiz fixed and tested for the next time. We have
better todo then wasting our time by backing out untested stuff.
OK deraadt, OK ckuethe
|
|
|
|
|
|
|
| |
reset, rather than at suspend/resume, otherwise any BIOS inserted value
is lost immediately.
ok dlg@
|
|
|
|
|
|
| |
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is closed and then reopened. This may be necessary now that
we no longer clear endpoint stalls every time a pipe is opened.
Previously we could assume an initial toggle value of zero because
a clear-stall operation resets the device's toggle state.
Derived from work in FreeBSD.
This is most likely to affect devices like printers, which open
pipes for short periods of time and close them again.
ok dlg@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
often rely on the detach routine for cleanup. So be consistant and
careful by checking for a NULL hook before calling *hook_disestablish
in detach routines.
ok mickey@ brad@ dlg@
|
|
|
|
| |
from freebsd, ok dlg@
|
|
|
|
|
|
| |
From augustss NetBSD
ok dlg@
|
|
|
|
|
| |
userland-visible sys/select.h. Consistent with what Net and Free do.
OK deraadt@, tested with full ports build by naddy@.
|
| |
|
|
|
|
|
|
|
|
| |
initialization is finished.
From augustss NetBSD
ok dlg@ pascoe@
|