#
ca68072a |
| 18-May-2014 |
mpi <mpi@openbsd.org> |
Do not pass an xfer pointer to the timeout routine checking for root hub status changes because it might be freed when detaching the root uhub(4).
Also do not reschedule a timeout if the pipe is bei
Do not pass an xfer pointer to the timeout routine checking for root hub status changes because it might be freed when detaching the root uhub(4).
Also do not reschedule a timeout if the pipe is being aborted.
Finally do not add more code to retrieve the 'bInterval' value of the root hub endpoint descriptor since this value is hardcoded in the uhci(4) driver.
show more ...
|
#
44fe0a2d |
| 16-May-2014 |
mpi <mpi@openbsd.org> |
There is no need to remember which usb(4) device is the child of an USB host controller because autoconf(9) already does it.
|
#
5dacfd1d |
| 29-Apr-2014 |
mpi <mpi@openbsd.org> |
Get rid of the per-softc freelist of transfer descriptors and use a per-driver pool(9) instead.
|
#
c314b820 |
| 27-Apr-2014 |
mpi <mpi@openbsd.org> |
Start de-obfuscating the HC drivers.
Since pipe methods have an xfer argument, always use it to get acces to various data structure (pipe, bus, device) instead of having a different way to get a poi
Start de-obfuscating the HC drivers.
Since pipe methods have an xfer argument, always use it to get acces to various data structure (pipe, bus, device) instead of having a different way to get a pointer to these descriptors in every function.
Also kill the {E,U}XFER() macro and use a consistent name accross all the methods for {e,u}hci_xfer.
show more ...
|
#
7eb220a6 |
| 25-Mar-2014 |
mpi <mpi@openbsd.org> |
Instead of matching root hubs with a custom address, that only works because USB_START_ADDR is defined to 0 and the softc is M_ZERO'd, assume that root hubs are the only devices with a depth of 0.
R
Instead of matching root hubs with a custom address, that only works because USB_START_ADDR is defined to 0 and the softc is M_ZERO'd, assume that root hubs are the only devices with a depth of 0.
Root hubs can now happily be detached and reattached.
show more ...
|
#
5b152b0b |
| 01-Nov-2013 |
mpi <mpi@openbsd.org> |
Reduce the differences with ehci(4)'s transfer decriptors. This is a first step to merge the code of our controllers that deal with usbd transfers.
Tested with miod@
|
#
3bfbcfb9 |
| 01-Nov-2013 |
mpi <mpi@openbsd.org> |
Move the abort_task storage to the generic USB xfer structure instead of defining it in every controller specific structure.
|
#
c06fda6d |
| 30-May-2013 |
deraadt <deraadt@openbsd.org> |
Enforce ca_activate tree-walks over the entire heirarchy for all events, cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request
Enforce ca_activate tree-walks over the entire heirarchy for all events, cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
show more ...
|
#
ab0b1be7 |
| 15-Apr-2013 |
mglocker <mglocker@openbsd.org> |
Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland.
Tested by mpi@ on macppc and myself on i
Get rid of various 'typedef struct' definitions and use plain structure 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@
show more ...
|
#
72bb8292 |
| 14-Dec-2010 |
jakemsr <jakemsr@openbsd.org> |
use the dying flag in struct usbd_bus instead of a private dying flag in *hci_softc
ok miod@, krw@
|
#
b07c7932 |
| 07-Sep-2010 |
deraadt <deraadt@openbsd.org> |
remove the powerhook code. All architectures now use the ca_activate tree traversal code to suspend/resume ok oga kettenis blambert
|
#
8302c82d |
| 04-Nov-2009 |
kettenis <kettenis@openbsd.org> |
Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.
ok jsing@, miod@
|
#
e78728c7 |
| 13-Oct-2009 |
pirofti <pirofti@openbsd.org> |
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
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 t
First pass at removing clauses 3 and 4 from NetBSD licenses.
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@
show more ...
|
#
553f3c93 |
| 15-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Replace the USB_USE_SOFTINTR macro with __HAVE_GENERIC_SOFT_INTTERUPTS (which was used to define USB_USE_SOFTINTR).
No binary changes.
ok dlg, mk.
|
#
73030186 |
| 12-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove the definition and use of the device_ptr_t which was a struct device *.
No binary change.
ok mk.
|
#
34eef271 |
| 10-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Remove definitions and usage of usb_callout and related macros. These macros were used as a layer of confusion^Wabstraction around the timeout(9) API.
No binary change.
ok jsg.
|
#
000788eb |
| 04-Jun-2007 |
mbalmer <mbalmer@openbsd.org> |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
|
#
72a11251 |
| 08-Jul-2003 |
nate <nate@openbsd.org> |
Sync USB code with NetBSD. This includes numerous fixes and paves the way for usb 2.0 support.
|
#
b9553664 |
| 25-Jul-2002 |
nate <nate@openbsd.org> |
get rid of trailing whitespace
|
#
27af6c70 |
| 07-May-2002 |
nate <nate@openbsd.org> |
Meant to commit only ulpt and committed everything. Most things weren't ready
|
#
5cd29220 |
| 07-May-2002 |
nate <nate@openbsd.org> |
Sync ulpt driver with NetBSD
|
#
de346b42 |
| 12-Jun-2001 |
mickey <mickey@openbsd.org> |
interrupts cannot happen before *hci cannot receive interrupts before it has been initialized. this was changed to accomodate the pcibios strategy change back in pre-2.9 times since *hci_init enables
interrupts cannot happen before *hci cannot receive interrupts before it has been initialized. this was changed to accomodate the pcibios strategy change back in pre-2.9 times since *hci_init enables interrupts at it's end and thus unmapped pci interrupt hangs the machine in the endless loop trying to deliver it (and no hci handler to ack it). this new way we disable interrupts by hands before we map 'em on pci and thus ensure that they will not crash an uninitialized *hci which, in turn, will run right after the interrupt map/establish and by the time it enables *hci interrupts all gonna be just fine. please allow us to end this stretched remark for cvs is getting a power outage in less than 20 minutes.
show more ...
|
#
591e0ca7 |
| 08-Nov-2000 |
aaron <aaron@openbsd.org> |
Sync with NetBSD. Too many changes to mention. For now I have skipped umass.c and ukbd.c as the diffs are a bit hairier.
|
#
82426cf3 |
| 04-Jul-2000 |
fgsch <fgsch@openbsd.org> |
sync with NetBSD... well almost. someone w/ the hw should check umass.
|