| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
|
|
|
|
|
|
| |
an uhidev(4) on OpenBSD and there is not point in rerolling your own
reportID handling. Simply use uhidev_*_report().
This is a first step towards better error handling required to deal
with broken upd(4) firmwares.
Tested by David Higgs.
|
|
|
|
|
|
|
|
|
| |
Without knowing their depth, hubs couldn't find the bits correspdonding
to their downstream port in the route-string. Now USB 3.0 devices just
work(tm) anywhere in your hub chain.
This commit would not have been possible without the cheese provided by
miod@ at #HAMoween.
|
|
|
|
| |
external USB 3.0 hub support.
|
|
|
|
|
|
|
|
|
| |
explicitly set it when required.
Right now xhci(4) does not need such function because it assigns
addresses when the first pipe of a device is opened.
ok yuo@, pirofti@
|
|
|
|
|
|
|
|
|
|
|
| |
and a infaceno argument instead of an iface pointer. While here,
remove some unused functions and inlined usbd_read_report_desc since
it is used only once.
This is part of plumbing required to convert the various USB HID devices
to handle multiples report IDs.
ok andre@
|
|
|
|
|
| |
This will help us deal with the different hub device descriptors used
by super speed devices.
|
|
|
|
|
|
|
|
|
| |
The controllers are linked through device->bus so the iface is redundant.
So fixing usbd_dopoll() to take the device as argument and making
usbd_interface2device_handle() private (for now) inside usbdi_util.
Tested and okay mpi@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of the badly named usbd_bulk_transfer() and usbd_intr_transfer()
they were two identical wrappers to submit a synchronous transfer.
Now all synchronous transfers are submited using usbd_setup_xfer(9) and
usbd_transfer(9) explicitly using the USBD_CATCH flag when signals must
be checked.
Previous version ok'd by mglocker@, with subtle inputs from miod@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok mglocker@
|
| |
|
|
|
|
|
|
|
| |
directly this also makes it easier to understand which function actually
generates IO.
ok mglocker@
|
| |
|
|
|
|
|
| |
set. no other transfer methods catch signals, and it is not possible
to restart these transfers reliably.
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok dlg.
|
|
|
|
|
|
| |
No binary change.
ok mk.
|
|
|
|
|
|
| |
No binary change.
ok jsg.
|
|
|
|
|
|
|
|
| |
While here, reindent the function prototypes in usbdi_util.h
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.
|
|
|
|
|
|
| |
change, no functionality change.
ok jsg
|
| |
|
|
|
|
|
|
|
|
| |
log message:
Implement outgoing interrupt pipes. It is part of the USB 1.1 spec.
The Lego Infrared Tower use it.
ok deraadt@
|
| |
|
|
|
|
| |
This includes numerous fixes and paves the way for usb 2.0 support.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
umass.c and ukbd.c as the diffs are a bit hairier.
|
| |
|
| |
|
|
|
|
|
|
| |
form of a diff to augustss@netbsd.org so that future syncs will be very easy.
This commit also adds support for ADMtek AN986 "Pegasus" based USB Ethernet,
CATC USB-EL1210A based USB Ethernet, and USB Printers (all untested).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make sure not to call tsleep() from suspend/resume routine.
Move more of the transfer completion processing to HC independent code.
Fix some problems with transfer abort & timeout.
Merge the soft_{td,qh} with the real {td,qh}. This saves time and space.
|
|
|
|
| |
Diffs sent to augustsson.
|
|
|