usb_mbuf.h (185948) | usb_mbuf.h (187183) |
---|---|
1/* $FreeBSD: head/sys/dev/usb2/core/usb2_mbuf.h 185948 2008-12-11 23:13:02Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb2/core/usb2_mbuf.h 187183 2009-01-13 19:05:51Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 23 unchanged lines hidden (view full) --- 33 */ 34struct usb2_mbuf { 35 uint8_t *cur_data_ptr; 36 uint8_t *min_data_ptr; 37 struct usb2_mbuf *usb2_nextpkt; 38 struct usb2_mbuf *usb2_next; 39 40 uint32_t cur_data_len; | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 23 unchanged lines hidden (view full) --- 33 */ 34struct usb2_mbuf { 35 uint8_t *cur_data_ptr; 36 uint8_t *min_data_ptr; 37 struct usb2_mbuf *usb2_nextpkt; 38 struct usb2_mbuf *usb2_next; 39 40 uint32_t cur_data_len; |
41 uint32_t max_data_len:31; 42 uint32_t last_packet:1; | 41 uint32_t max_data_len; 42 uint8_t last_packet:1; 43 uint8_t unused:7; |
43}; 44 45/* 46 * The following structure defines a minimum re-implementation of the 47 * ifqueue structure in the kernel. 48 */ 49struct usb2_ifqueue { 50 struct usb2_mbuf *ifq_head; --- 51 unchanged lines hidden --- | 44}; 45 46/* 47 * The following structure defines a minimum re-implementation of the 48 * ifqueue structure in the kernel. 49 */ 50struct usb2_ifqueue { 51 struct usb2_mbuf *ifq_head; --- 51 unchanged lines hidden --- |