diff options
| author | mrg <mrg@NetBSD.org> | 2012-07-15 21:13:31 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2012-07-15 21:13:31 +0000 |
| commit | 0c0edd664f3fb899052d02d0bb06b19efd1f68db (patch) | |
| tree | 0cf3e4235aae45a1200055232b5c8437959c669a /sys/dev/usb/usbdivar.h | |
| parent | 02a8901fda219c6872fa2a70961bd34d15011bb6 (diff) | |
commit my workaround for PR 46648 for now, as the more involved
fix is not ready yet:
move the clear endpoint stall async call into the task thread,
to avoid trying to call kmem_alloc() from a softint thread.
XXX ideally moving callbacks into the task thread (or perhaps
a different high priority task thread) would be better than this
workaround, once that method is working.
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
| -rw-r--r-- | sys/dev/usb/usbdivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index c5cba53a36b..7206fa02445 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $NetBSD: usbdivar.h,v 1.97 2012/06/10 06:15:55 mrg Exp $ */ +/* $NetBSD: usbdivar.h,v 1.98 2012/07/15 21:13:31 mrg Exp $ */ /* * Copyright (c) 1998, 2012 The NetBSD Foundation, Inc. @@ -212,6 +212,7 @@ struct usbd_pipe { char aborting; SIMPLEQ_HEAD(, usbd_xfer) queue; LIST_ENTRY(usbd_pipe) next; + struct usb_task async_task; usbd_xfer_handle intrxfer; /* used for repeating requests */ char repeat; |
