summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_process.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-23 02:19:59 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-23 02:19:59 +0000
commit74c6c20b93f0513a453c6544f8b98ad55cbdc741 (patch)
treeee5c9acfe716a9835136731811e9e1a68751e278 /sys/dev/usb/usb_process.h
parent52922c0742bc8545734b2903d6407b99664e84ed (diff)
downloadFreeBSD-src-74c6c20b93f0513a453c6544f8b98ad55cbdc741.zip
FreeBSD-src-74c6c20b93f0513a453c6544f8b98ad55cbdc741.tar.gz
- Make struct usb_xfer opaque so that drivers can not access the internals
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Diffstat (limited to 'sys/dev/usb/usb_process.h')
-rw-r--r--sys/dev/usb/usb_process.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h
index d3cdd33..c717dc1 100644
--- a/sys/dev/usb/usb_process.h
+++ b/sys/dev/usb/usb_process.h
@@ -41,19 +41,6 @@
struct usb_proc_msg;
-/* typedefs */
-
-typedef void (usb_proc_callback_t)(struct usb_proc_msg *hdr);
-
-/*
- * The following structure defines the USB process message header.
- */
-struct usb_proc_msg {
- TAILQ_ENTRY(usb_proc_msg) pm_qentry;
- usb_proc_callback_t *pm_callback;
- usb_size_t pm_num;
-};
-
/*
* The following structure defines the USB process.
*/
OpenPOWER on IntegriCloud