Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-19 | Kill matchlvl usage throughout the usb stack. | Paul Irofti | |
Allows us to move forward on cleaning. Okay mpi@ | |||
2013-11-18 | simplify kthread_create(). no more stdarg | Theo de Raadt | |
ok matthew guenther mikeb | |||
2013-11-17 | correct some iodata strings and add ETX-US2 | Jonathan Gray | |
from ISIHARA Takanori | |||
2013-11-17 | regen | Jonathan Gray | |
2013-11-17 | correct some iodata strings and add ETX-US2 | Jonathan Gray | |
from ISIHARA Takanori | |||
2013-11-15 | Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-A | sasano | |
USB host-to-host link cable. This driver is derived from upl(4). | |||
2013-11-15 | Clean-up usbd_abort_pipe() usage. | Paul Irofti | |
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@ | |||
2013-11-15 | Sort-out activate functionality for ucom(4) and it's parents. | Paul Irofti | |
The child should not have to call the parent for deactivation. The parent should handle it. So kill the activate routine in ucom(4) and adapt the parents to no longer call it. Also remove sc_dying in ucom(4) and use usbd_is_dying() instead. Okay mpi@. | |||
2013-11-15 | Clean-up the HID environment. | Paul Irofti | |
This set of drivers were very very dirty. i/ Clean-up the match/attach multi-casting hackjob - stop casting aux to every attach arg in existance - be consistent about casting it only to uhidev_attach_arg - fetch the usb_attach_arg from above where needed ii/ Sort out the activate routines - leave the deactivation to the parent (uhidev(4)) - ditch the sc_dying flag in favour of usbd_is_dying() iii/ Get closer to keeping all the usb hid information in the uhidev structure (one uhidev per reportID) - store the usbd_device in the uhidev - use it consistently instead of always peaking at the parent's soft state Okay mpi@ | |||
2013-11-13 | Polling is done per controller not per interface. | Paul Irofti | |
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@ | |||
2013-11-11 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-11 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-11 | Kill commented out code dealing with a non existent sc_dying variable. | Martin Pieuchot | |
2013-11-11 | Clean-up the activate routines from the uoak*(4) drivers. | Paul Irofti | |
Leave the deactivate bits to the parent. Simplify by making a single dying check in uhidev(4) interrupt routine instead of having each child doing it. Okay mpi@ | |||
2013-11-10 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-09 | In our USB world, timeouts are in milliseconds, so use timeout_add_msec() | Martin Pieuchot | |
coherently through all our controller drivers and kill the mstohz() macro. ok pirofti@ | |||
2013-11-09 | Reduce the differences between our controller drivers and initialize | Martin Pieuchot | |
the timeout task in the *_timeout() routine. It now becomes obvious that the allocx/freex hooks can be merged. ok pirofti@ | |||
2013-11-09 | regen | Jonathan Gray | |
2013-11-09 | more rate matching hubs | Jonathan Gray | |
2013-11-08 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | In polling mode since r1.101 we could end up dereferencing an | Martin Pieuchot | |
uninitialized variable in case the transfer we were waiting for timed out; problem reported by oga@bitrig. So bring uhci_waitintr() in sync with its equivalent in ohci(4) and ehci(4), stop using an uhci_xfer, do not dereference it and set the correct status of the transfer. | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Kill sc_dying. Nobody was using it anyway. | Paul Irofti | |
"just kill it" mpi@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Tested and okay mpi@. | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Testing and okay mpi@. | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay yuo@ | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-07 | Make sure to mark the controller as dying in order to stop processing | Martin Pieuchot | |
any transfer when autoconf(9) asks for it. This brings uhci(4) in sync with ohci(4) and ehci(4). ok pirofti@ | |||
2013-11-07 | Remove isoc_len from the transfer descriptor, it is assigned once but | Martin Pieuchot | |
never read. | |||
2013-11-07 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Tested and okay mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-06 | Make usbd_free_xfer return void, since no callers use the return value. | Jeremy Evans | |
OK mpi@ | |||
2013-11-06 | Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate(). | Paul Irofti | |
Okay mpi@ | |||
2013-11-05 | Instead of comparing the lower and higher addresses of all the multicast | Martin Pieuchot | |
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not introduce any behavior change but will help changing our representation of multicast entries. | |||
2013-11-04 | Use the async version of uhidev_set_report(), there's no need to sleep | Martin Pieuchot | |
until the transfer is done when submitting a command since the answers are read from the interrupt and we cannot do much if it fails. ok sasano@ | |||
2013-11-04 | regen | Jasper Lievisse Adriaanse | |
2013-11-04 | add vmware vendor id | Jasper Lievisse Adriaanse | |
ok jsg@ | |||
2013-11-02 | Remove a layer of abstraction for fetching a configuration descriptor. | Martin Pieuchot | |
2013-11-02 | Begin conversion of USB stack to return int instead of usbd_status, | Jeremy Evans | |
starting with usbd_endpoint_count and usbd_interface_count. usbd_status should only be used to indicate the status of a USB transfer, it should not be used for generic error codes. Idea from and much hand-holding by mpi@ OK mpi@ | |||
2013-11-01 | Spacing. | Martin Pieuchot | |
2013-11-01 | Reduce the differences with ehci(4)'s transfer decriptors. This is a | Martin Pieuchot | |
first step to merge the code of our controllers that deal with usbd transfers. Tested with miod@ | |||
2013-11-01 | Do not abuse the stack of the current process to prepend a report ID | Martin Pieuchot | |
to the report request, use malloc(9) with the appropriate size like it is done in the synchronous version. ok miod@ |