usb_bus.h (193045) | usb_bus.h (193074) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 193045 2009-05-29 18:46:57Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 193074 2009-05-30 00:22:57Z 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. --- 72 unchanged lines hidden (view full) --- 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 usb_power_mask_t hw_power_state; /* see USB_HW_POWER_XXX */ | 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. --- 72 unchanged lines hidden (view full) --- 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 usb_power_mask_t hw_power_state; /* see USB_HW_POWER_XXX */ |
90 size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX]; | 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". */ 97 98 uint8_t devices_max; /* maximum number of USB devices */ 99 uint8_t do_probe; /* set if USB BUS should be re-probed */ 100 101 union { 102 struct usb_hw_ep_scratch hw_ep_scratch[1]; 103 struct usb_temp_setup temp_setup[1]; 104 uint8_t data[128]; 105 } scratch[1]; 106}; 107 108#endif /* _USB2_BUS_H_ */ | 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". */ 97 98 uint8_t devices_max; /* maximum number of USB devices */ 99 uint8_t do_probe; /* set if USB BUS should be re-probed */ 100 101 union { 102 struct usb_hw_ep_scratch hw_ep_scratch[1]; 103 struct usb_temp_setup temp_setup[1]; 104 uint8_t data[128]; 105 } scratch[1]; 106}; 107 108#endif /* _USB2_BUS_H_ */ |