usb_hub.h (193045) | usb_hub.h (193074) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_hub.h 193045 2009-05-29 18:46:57Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_hub.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. --- 42 unchanged lines hidden (view full) --- 52 */ 53struct usb_hub { 54#if USB_HAVE_TT_SUPPORT 55 struct usb_fs_isoc_schedule fs_isoc_schedule[USB_ISOC_TIME_MAX]; 56#endif 57 struct usb_device *hubudev; /* the HUB device */ 58 usb_error_t (*explore) (struct usb_device *hub); 59 void *hubsoftc; | 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. --- 42 unchanged lines hidden (view full) --- 52 */ 53struct usb_hub { 54#if USB_HAVE_TT_SUPPORT 55 struct usb_fs_isoc_schedule fs_isoc_schedule[USB_ISOC_TIME_MAX]; 56#endif 57 struct usb_device *hubudev; /* the HUB device */ 58 usb_error_t (*explore) (struct usb_device *hub); 59 void *hubsoftc; |
60 size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX]; | 60 usb_size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX]; |
61 uint16_t portpower; /* mA per USB port */ 62 uint8_t isoc_last_time; 63 uint8_t nports; 64 struct usb_port ports[0]; 65}; 66 67/* function prototypes */ 68 --- 14 unchanged lines hidden --- | 61 uint16_t portpower; /* mA per USB port */ 62 uint8_t isoc_last_time; 63 uint8_t nports; 64 struct usb_port ports[0]; 65}; 66 67/* function prototypes */ 68 --- 14 unchanged lines hidden --- |