summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-02 09:51:10 +0000
committerjoe <joe@FreeBSD.org>2002-04-02 09:51:10 +0000
commitc5a5e0e1ed526a3c3b6d271540b4bec037585b5e (patch)
tree862be35067a7d8ec5774db7094a4f871b34b54b1
parent2104113695511c03369543a79653dd5c3cf5f15d (diff)
downloadFreeBSD-src-c5a5e0e1ed526a3c3b6d271540b4bec037585b5e.zip
FreeBSD-src-c5a5e0e1ed526a3c3b6d271540b4bec037585b5e.tar.gz
MFNetBSD:
revision 1.52 date: 2001/01/21 19:00:29; author: augustss; state: Exp; lines: +5 -0 Ad a comment.
-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 fec7dc5..c88a9aa 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)
{
OpenPOWER on IntegriCloud