/*
* 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 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_ENVCTRL_GEN_H
#define _SYS_ENVCTRL_GEN_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
*
* This header file holds the environmental control definitions that
* are common to all workgroup server platforms. Typically, all IOCTLs,
* kstat structures, and the generic constants are defined here.
* The platform specific definitions belong in header files which contain
* the platform name as part of the file name eg. envctrl_ue250.h for the
* UltraEnterprise-250 platform.
*/
#define ENVCTRL_CPU0 0
/*
* I2C Sensor Types
*/
/*
* I2C device address offsets
*/
/*
* I2C ports
*/
/*
* Max number of a particular
* device on one bus.
*/
/* Disk Fault bit fields */
/* Kstat Structures and defines */
/*
* Kstat structure definitions (PSARC 1996/159)
*/
typedef struct envctrl_ps {
} envctrl_ps_t;
typedef struct envctrl_fan {
typedef struct envctrl_encl {
int instance;
int type;
/*
* Kstat structure defintions (PSARC 1997/245)
*/
typedef struct envctrl_chip {
typedef struct envctrl_ps2 {
typedef struct envctrl_temp {
typedef struct envctrl_disk {
/*
* IOCTL defines (PSARC 1996/159)
*/
/*
* IOCTL defines (PSARC 1997/245)
*/
#ifdef __cplusplus
}
#endif
#endif /* _SYS_ENVCTRL_GEN_H */