diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-06-23 02:19:59 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-06-23 02:19:59 +0000 |
commit | 74c6c20b93f0513a453c6544f8b98ad55cbdc741 (patch) | |
tree | ee5c9acfe716a9835136731811e9e1a68751e278 /sys/dev/usb/usb_mbuf.h | |
parent | 52922c0742bc8545734b2903d6407b99664e84ed (diff) | |
download | FreeBSD-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_mbuf.h')
-rw-r--r-- | sys/dev/usb/usb_mbuf.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/usb/usb_mbuf.h b/sys/dev/usb/usb_mbuf.h index e959fce..3b331ff 100644 --- a/sys/dev/usb/usb_mbuf.h +++ b/sys/dev/usb/usb_mbuf.h @@ -43,18 +43,6 @@ struct usb_mbuf { uint8_t unused:7; }; -/* - * The following structure defines a minimum re-implementation of the - * ifqueue structure in the kernel. - */ -struct usb_ifqueue { - struct usb_mbuf *ifq_head; - struct usb_mbuf *ifq_tail; - - usb_size_t ifq_len; - usb_size_t ifq_maxlen; -}; - #define USB_IF_ENQUEUE(ifq, m) do { \ (m)->usb_nextpkt = NULL; \ if ((ifq)->ifq_tail == NULL) \ |