usb_bus.h (184610) | usb_bus.h (184824) |
---|---|
1/* $FreeBSD: head/sys/dev/usb2/controller/usb2_bus.h 184610 2008-11-04 02:31:03Z alfred $ */ | 1/* $FreeBSD: head/sys/dev/usb2/controller/usb2_bus.h 184824 2008-11-10 20:54:31Z 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. --- 39 unchanged lines hidden (view full) --- 49 * for every Host or Device controller. 50 */ 51struct usb2_bus { 52 struct usb2_bus_stat stats_err; 53 struct usb2_bus_stat stats_ok; 54 struct usb2_process explore_proc; 55 struct usb2_bus_msg explore_msg[2]; 56 struct usb2_bus_msg detach_msg[2]; | 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. --- 39 unchanged lines hidden (view full) --- 49 * for every Host or Device controller. 50 */ 51struct usb2_bus { 52 struct usb2_bus_stat stats_err; 53 struct usb2_bus_stat stats_ok; 54 struct usb2_process explore_proc; 55 struct usb2_bus_msg explore_msg[2]; 56 struct usb2_bus_msg detach_msg[2]; |
57 struct mtx mtx; /* This mutex protects the USB | 57 struct mtx bus_mtx; /* This mutex protects the USB |
58 * hardware */ 59 struct usb2_perm perm; 60 struct usb2_xfer_queue intr_q; 61 62 device_t bdev; /* filled by HC driver */ 63 64 struct usb2_dma_parent_tag dma_parent_tag[1]; 65 struct usb2_dma_tag dma_tags[USB_BUS_DMA_TAG_MAX]; --- 23 unchanged lines hidden --- | 58 * hardware */ 59 struct usb2_perm perm; 60 struct usb2_xfer_queue intr_q; 61 62 device_t bdev; /* filled by HC driver */ 63 64 struct usb2_dma_parent_tag dma_parent_tag[1]; 65 struct usb2_dma_tag dma_tags[USB_BUS_DMA_TAG_MAX]; --- 23 unchanged lines hidden --- |