/*
* 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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* This file is part of the Chelsio T1 Ethernet driver.
*
* Copyright (C) 2003-2005 Chelsio Communications. All rights reserved.
*/
#ifndef _CHELSIO_OSCHTOE_H
#define _CHELSIO_OSCHTOE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* looks like this should really be with mc5.h */
/*
* Bits used to configure driver behavior.
*/
/*
* Structure used to store drivers configuration information.
* Some of this information will be move out later or
* stored elsewhere. For now, it helps with development.
*/
typedef struct pe_config_data {
/*
* 5-auto-neg
* 2-1000Gbps(force);
* 1-100Gbps(force);
* 0-10Gbps(force)
*/
/*
* Update MAC stats automatically.
* Sometimes we don't want this to
* happen when debugging
*/
/*
* Add microsecond delay to packets
* sent in Tx direction. This is useful
* in testing hardware.
*/
/*
* Can change chip revision support
* settting -1 default. Uses hardware
* lookup table.
* 0 force T1A
* 1 force T1B
*/
/*
* Used to only initialize PCI so
* driver does not initialize anything
* of the HW blocks.
*/
/* local ring buffer */
/* Opt values used to store CATP options. */
struct pe_port_t {
};
#ifdef __cplusplus
}
#endif
#endif /* _CHELSIO_OSCHTOE_H */