aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-04-02 09:51:10 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-04-02 09:51:10 +0000
commit7e9590a260bb92b895d0c2bdb6c78931cae0ef82 (patch)
tree862be35067a7d8ec5774db7094a4f871b34b54b1
parente469fe6e0a2ae7c703b9e3ed69cbbd1d424e28e7 (diff)
Notes
-rw-r--r--sys/dev/usb/usb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index fec7dc56d9452..c88a9aaadd39b 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.c,v 1.51 2001/01/21 19:00:06 augustss Exp $ */
+/* $NetBSD: usb.c,v 1.52 2001/01/21 19:00:29 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -317,6 +317,11 @@ usb_create_event_thread(void *arg)
}
}
+/*
+ * Add a task to be performed by the event thread. This function can be
+ * called from any context and the task will be executed in a process
+ * context ASAP.
+ */
void
usb_add_task(usbd_device_handle dev, struct usb_task *task)
{