Deleted Added
full compact
usb_bus.h (246363) usb_bus.h (246616)
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 246363 2013-02-05 14:44:25Z hselasky $ */
1/* $FreeBSD: head/sys/dev/usb/usb_bus.h 246616 2013-02-10 10:56:13Z hselasky $ */
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.

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

108
109 uint8_t alloc_failed; /* Set if memory allocation failed. */
110 uint8_t driver_added_refcount; /* Current driver generation count */
111 enum usb_revision usbrev; /* USB revision. See "USB_REV_XXX". */
112
113 uint8_t devices_max; /* maximum number of USB devices */
114 uint8_t do_probe; /* set if USB should be re-probed */
115 uint8_t no_explore; /* don't explore USB ports */
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.

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

108
109 uint8_t alloc_failed; /* Set if memory allocation failed. */
110 uint8_t driver_added_refcount; /* Current driver generation count */
111 enum usb_revision usbrev; /* USB revision. See "USB_REV_XXX". */
112
113 uint8_t devices_max; /* maximum number of USB devices */
114 uint8_t do_probe; /* set if USB should be re-probed */
115 uint8_t no_explore; /* don't explore USB ports */
116
117 /*
118 * The scratch area can only be used inside the explore thread
119 * belonging to the give serial bus.
120 */
121 union {
122 struct usb_hw_ep_scratch hw_ep_scratch[1];
123 struct usb_temp_setup temp_setup[1];
124 uint8_t data[255];
125 } scratch[1];
126};
127
128#endif /* _USB_BUS_H_ */
116};
117
118#endif /* _USB_BUS_H_ */