/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 (c) 1999, 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _MONTECARLO_SYS_MCT_TOPOLOGY_H
#define _MONTECARLO_SYS_MCT_TOPOLOGY_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* MonteCarlo / Tonga topology structures and types for the scsb driver
* and its kstat structure "env_topology", to be available to applications
* like envmond and snmp agents.
*/
/*
* SCB information also defined in scsb.h, which file is not available to
* applications.
*/
/* Save this existing definition, but use it as the MAX */
/*
* Maximum number of FRUs in MCT systems,
* used for sizeof fru_id_table[] and index check
*/
/*
* The I2C addresses of System I2C devices
* from "MonteCarlo: Programming Interface Specifications" Version 0.9
*/
/*
* CFG1_MPID masks
*/
/*
* Interrupt Event Codes
* Also used by "scsb" to locate fruid_table index,
* so the order is very important.
*/
typedef enum {
MCT_HEALTH_NA = 0,
} fru_health_t;
/*
* NOTE: the CTC occupant is the CFTM FRU type on MonteCarlo
*/
typedef enum {
OC_UNKN = 0,
typedef enum {
SLOT = 0,
} scsb_utype_t;
typedef enum scsb_fru_status {
typedef enum {
typedef struct fru_options {
char *board_name;
typedef struct fru_i2c_info {
typedef struct fru_info {
} fru_info_t;
struct system_info {
};
/*
* scsb kstat types
*/
typedef struct ks_fru_info {
typedef union scsb_leddata {
union {
struct {
} p10;
struct {
} p15;
} leds;
typedef struct {
typedef struct {
#ifdef __cplusplus
}
#endif
#endif /* _MONTECARLO_SYS_MCT_TOPOLOGY_H */