/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_USB_HUB_H
#define _SYS_USB_HUB_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Section 11.11.2.1 allows up to 255 ports.
* For simplicity, only a maximum of 31 ports is currently allowed
*/
typedef struct usb_hub_descr {
/* power on sequence begins on a port */
/* until power is good on that port */
/* removable device attached */
/* power control mask */
/* Values for wHubCharacteristics */
/* Default Power On to Power Good time */
/* Hub Status */
/* Class Specific bmRequestType values Table 11-10 */
/* bmRequestType for getting device status */
/* Port Status Field Bits - Table 11-15 */
/* Port Change Field Bits - Table 11-16 */
/* Hub status Field Bits - Table 11-14 */
/* Hub change clear feature selectors - Table 11-15 */
/* hub class feature selectors - Table 11-12 */
#define CFS_C_HUB_LOCAL_POWER 0
#define CFS_PORT_CONNECTION 0
#ifdef __cplusplus
}
#endif
#endif /* _SYS_USB_HUB_H */