summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_ethersubr.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2007-01-08 23:21:06 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2007-01-08 23:21:06 +0000
commitb262697660f9ef734d3356b3d0123c6cc1ed0b3b (patch)
treeeed129bbc6039fa6114f81248214f3e07b79c5ba /sys/dev/usb/usb_ethersubr.c
parentf8209ca81d654fbd8b1a67da562147d6f9599f27 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb_ethersubr.c')
-rw-r--r--sys/dev/usb/usb_ethersubr.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_ethersubr.c b/sys/dev/usb/usb_ethersubr.c
index ef43cdbc8a22..2cb5fa6c892b 100644
--- a/sys/dev/usb/usb_ethersubr.c
+++ b/sys/dev/usb/usb_ethersubr.c
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/socket.h>
+#include <sys/taskqueue.h>
#include <net/if.h>
#include <net/if_types.h>
@@ -246,3 +247,32 @@ usb_ether_tx_list_free(struct ue_cdata *cd)
}
}
}
+
+void
+usb_ether_task_init(device_t dev, int flags, struct usb_taskqueue *tq)
+{
+
+ /* nothing for now. */
+}
+
+void
+usb_ether_task_enqueue(struct usb_taskqueue *tq, struct task *task)
+{
+
+ taskqueue_enqueue(taskqueue_thread, task);
+}
+
+void
+usb_ether_task_drain(struct usb_taskqueue *tq, struct task *task)
+{
+
+ taskqueue_drain(taskqueue_thread, task);
+}
+
+void
+usb_ether_task_destroy(struct usb_taskqueue *tq)
+{
+
+ /* nothing for now */
+
+}