ehci_hub.h revision 7cf28e5665e98309f12252085598b2cfcd950772
/*
* 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 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_USB_EHCI_HUB_H
#define _SYS_USB_EHCI_HUB_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Enchanced Host Controller Driver (EHCI)
*
* The EHCI driver is a software driver which interfaces to the Universal
* Serial Bus layer (USBA) and the Host Controller (HC). The interface to
* the Host Controller is defined by the EHCI Host Controller Interface.
*
* This header file describes the data structures required by the EHCI
* Driver for the root hub operations.
*/
/*
* Root hub information structure
*
* The Root hub is a Universal Serial Bus hub attached directly to the
* Host Controller (HC) and all the internal registers of the root hub
* are exposed to the Host Controller Driver (HCD) which is responsible
* for providing the proper hub-class protocol with the USB driver and
* proper control of the root hub. This structure contains information
* about the root hub and its ports.
*/
typedef struct ehci_root_hub {
/* Copy of the Root Hub descriptor */
/* Number of Companion Controllers */
/* Last state & status for each root hub port */
/* Root hub control pipe handle */
/* Current control request pointer */
/* Root hub control pipe state */
/* Root hub interrupt pipe handle */
/* Current interrupt request pointer */
/* Saved original interrupt request pointer */
/* Root hub interrupt pipe state and timer-id */
/* Port States */
/*
* Time waits for the different EHCI Root Hub specific operations.
* These timeout values are specified in terms of microseconds.
*/
#ifdef __cplusplus
}
#endif
#endif /* _SYS_USB_EHCI_HUB_H */