diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
commit | b064d23a532b2149c827f886719da091c9d46db5 (patch) | |
tree | 850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_mbuf.h | |
parent | 36bf6c9b02de093f113d81dc2ba7c54d7ba93926 (diff) | |
download | FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.zip FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.tar.gz |
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
Diffstat (limited to 'sys/dev/usb/usb_mbuf.h')
-rw-r--r-- | sys/dev/usb/usb_mbuf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_mbuf.h b/sys/dev/usb/usb_mbuf.h index d604a27..998f581 100644 --- a/sys/dev/usb/usb_mbuf.h +++ b/sys/dev/usb/usb_mbuf.h @@ -37,8 +37,8 @@ struct usb_mbuf { struct usb_mbuf *usb2_nextpkt; struct usb_mbuf *usb2_next; - size_t cur_data_len; - size_t max_data_len; + usb_size_t cur_data_len; + usb_size_t max_data_len; uint8_t last_packet:1; uint8_t unused:7; }; @@ -51,8 +51,8 @@ struct usb_ifqueue { struct usb_mbuf *ifq_head; struct usb_mbuf *ifq_tail; - size_t ifq_len; - size_t ifq_maxlen; + usb_size_t ifq_len; + usb_size_t ifq_maxlen; }; #define USB_IF_ENQUEUE(ifq, m) do { \ @@ -97,6 +97,6 @@ struct usb_ifqueue { /* prototypes */ void *usb2_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, - size_t block_size, uint16_t nblocks); + usb_size_t block_size, uint16_t nblocks); #endif /* _USB2_MBUF_H_ */ |