/*
* 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 2001 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_LW8_H
#define _SYS_LW8_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* subset of ioctl commands from PSARC 2000/019
*/
typedef struct {
int alarm_no;
int state;
} lom_aldata_t;
typedef struct {
int on;
typedef struct {
char ser_char;
int fault_led;
} lom_ctl_t;
typedef struct {
int serial_events;
} lom_ctl2_t;
typedef struct {
int config;
} lom_mprog_t;
typedef struct {
char ser_char;
int fver;
int fchksum;
int prod_rev;
} lom_info_t;
typedef struct {
int serial_events;
int fver;
int fchksum;
int prod_rev;
int serial_config;
int baud_rate;
int serial_hw_config;
int phone_home_config;
} lom2_info_t;
typedef struct {
int size;
} lom_prog_t;
typedef struct {
/*
* Project private ioctl commands - used by lw8 picl frutree plugin only
*/
#define LOM_LED_STATUS_OFF 0
#define LOM_LED_POSITION_FRU 0
typedef struct {
int status;
int position;
typedef struct {
int status;
#ifdef __cplusplus
}
#endif
#endif /* _SYS_LW8_H */