summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-26 12:48:57 +0000
committerjoe <joe@FreeBSD.org>2002-01-26 12:48:57 +0000
commitd9f659dee22017a701fa2a24ef3d04ba4cb0faa9 (patch)
treef8afc26c1195f3db43b36ed3498230216d71b955 /sys
parentcec880a81b28b598c1a1fe536ee7f1696a8d99d9 (diff)
downloadFreeBSD-src-d9f659dee22017a701fa2a24ef3d04ba4cb0faa9.zip
FreeBSD-src-d9f659dee22017a701fa2a24ef3d04ba4cb0faa9.tar.gz
Merge from NetBSD:
usb.c: revision 1.39 revision 1.39 date: 2000/02/22 11:30:56; author: augustss; lines: +7 -1 Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index a6f636f..545d35c 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -679,6 +679,12 @@ usbd_add_event(int type, usbd_device_handle dev)
splx(s);
}
+void
+usb_schedsoftintr(struct usbd_bus *bus)
+{
+ bus->methods->soft_intr(bus);
+}
+
#if defined(__NetBSD__) || defined(__OpenBSD__)
int
usb_activate(device_ptr_t self, enum devact act)
OpenPOWER on IntegriCloud