Deleted Added
full compact
usb_bus.h (197559) usb_bus.h (215649)
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 197559 2009-09-28 07:41:17Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 215649 2010-11-22 01:11:28Z weongyo $ */
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.

--- 71 unchanged lines hidden (view full) ---

81
82#if USB_HAVE_BUSDMA
83 struct usb_dma_parent_tag dma_parent_tag[1];
84 struct usb_dma_tag dma_tags[USB_BUS_DMA_TAG_MAX];
85#endif
86 struct usb_bus_methods *methods; /* filled by HC driver */
87 struct usb_device **devices;
88
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.

--- 71 unchanged lines hidden (view full) ---

81
82#if USB_HAVE_BUSDMA
83 struct usb_dma_parent_tag dma_parent_tag[1];
84 struct usb_dma_tag dma_tags[USB_BUS_DMA_TAG_MAX];
85#endif
86 struct usb_bus_methods *methods; /* filled by HC driver */
87 struct usb_device **devices;
88
89 struct usbpf_if *uif; /* USB Packet Filter */
90
89 usb_power_mask_t hw_power_state; /* see USB_HW_POWER_XXX */
90 usb_size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX];
91
92 uint16_t isoc_time_last; /* in milliseconds */
93
94 uint8_t alloc_failed; /* Set if memory allocation failed. */
95 uint8_t driver_added_refcount; /* Current driver generation count */
96 enum usb_revision usbrev; /* USB revision. See "USB_REV_XXX". */

--- 16 unchanged lines hidden ---
91 usb_power_mask_t hw_power_state; /* see USB_HW_POWER_XXX */
92 usb_size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX];
93
94 uint16_t isoc_time_last; /* in milliseconds */
95
96 uint8_t alloc_failed; /* Set if memory allocation failed. */
97 uint8_t driver_added_refcount; /* Current driver generation count */
98 enum usb_revision usbrev; /* USB revision. See "USB_REV_XXX". */

--- 16 unchanged lines hidden ---