| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
ok millert@ krw@
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
the 'dying' flag.
|
|
|
|
|
|
|
| |
This function never fails. So change it's return type to void and
adjust the copy-pasted callers that were checking the return.
"If it compiles, ok" mpi@
|
|
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
|
|
|
|
|
|
| |
transfer synchronously just pass the USBD_SYNCHRONOUS flag like any
other flags when creating a transfer.
ok sthen@, mglocker@
|
| |
|
|
|
|
|
| |
absolutely do not need to include vnode.h because it includes uvm_extern.h
and you want the idiotic TRUE FALSE defines from uvm.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
them from userland, and nothing in the kernel uses them.
ok krw@, miod@
|
|
|
|
|
|
|
| |
usbd_deactivete() and usbd_is_dying()
* use usbd_deactivate() in activate()/DEACTIVATE
* convert a few more direct checks of the associated bus' dying flag
with usbd_is_dying()
|
|
|
|
| |
ok phessler
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The dying flag will be set in activate()/DEACTIVATE.
ok deraadt@
|
|
|
|
|
| |
teardown functions which could potentially sleep (and then, the usb
task would get called for a half-torn down device)
|
|
|
|
|
|
| |
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
|
|
| |
since autoconf(9) allocates softc with M_ZERO; ok deraadt
|
| |
|
|
|
|
|
|
|
| |
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
radio clock. umbg(4) implements a timedelta sensor and reports the
signal quality in the Signal sensor as percentage. The signal sensor status
further indicates if the clock is free running (WARN).
ok dlg, jsg
|