diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-28 17:36:36 +0000 |
commit | af6fb4f3d2a2950c2a2c95bc3148ee16510149de (patch) | |
tree | 3036722a60a7a9ddd5122172e56736f3e128664b /sys/dev/usb/usb_mbuf.c | |
parent | d691011026fb63bdede5854aaa7547c7c019cd38 (diff) | |
download | FreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.zip FreeBSD-src-af6fb4f3d2a2950c2a2c95bc3148ee16510149de.tar.gz |
s/usb2_/usb_/ on all C structs for the USB stack.
Diffstat (limited to 'sys/dev/usb/usb_mbuf.c')
-rw-r--r-- | sys/dev/usb/usb_mbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_mbuf.c b/sys/dev/usb/usb_mbuf.c index e4d92b6..fdf42fd 100644 --- a/sys/dev/usb/usb_mbuf.c +++ b/sys/dev/usb/usb_mbuf.c @@ -35,10 +35,10 @@ * should be released. *------------------------------------------------------------------------*/ void * -usb2_alloc_mbufs(struct malloc_type *type, struct usb2_ifqueue *ifq, +usb2_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, usb2_size_t block_size, uint16_t nblocks) { - struct usb2_mbuf *m_ptr; + struct usb_mbuf *m_ptr; uint8_t *data_ptr; void *free_ptr = NULL; usb2_size_t alloc_size; @@ -48,7 +48,7 @@ usb2_alloc_mbufs(struct malloc_type *type, struct usb2_ifqueue *ifq, if (nblocks && block_size) { - alloc_size = (block_size + sizeof(struct usb2_mbuf)) * nblocks; + alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks; free_ptr = malloc(alloc_size, type, M_WAITOK | M_ZERO); |