/*
* 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.
*/
#ifndef _SYS_LW8_IMPL_H
#define _SYS_LW8_IMPL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* local driver defines and structures
*/
typedef struct lw8_event {
} lw8_event_t;
/*
* mailbox commands
*/
#define LW8_MBOX_UPDATE_FW 0
/*
* mailbox events
*/
#define LW8_EVENT_REQUESTED_SHUTDOWN 0
/*
* led requests
*/
typedef struct lw8_get_led_payload {
typedef struct lw8_set_led_payload {
char offset;
char value;
typedef struct {
typedef struct {
typedef struct {
} lw8_logmsg_t;
/*
* LW8_MBOX_WDT_GET message: SC <-> Solaris
*
* SC and Solaris use this message to learn what its peer has
* as their current state for these watchdog state-machine
* variables.
*/
typedef struct {
/*
* LW8_MBOX_WDT_SET message: SC <- Solaris
*
* Solaris uses this to update the SC with the latest
* 'value' for the specified 'property_id'.
*
* Eg, to specify that the watchdog state-machine is in
* System Mode, <property_id, value> would be set to:
*
* <LW8_WDT_PROP_MODE, LW8_PROP_MODE_SWDT>
*/
typedef struct {
int property_id;
int value;
/* choices for 'property_id' field: */
/*
* choices for 'value' field (for the specified 'property_id'):
*/
/* LW8_WDT_PROP_RECOV */
#define LW8_PROP_RECOV_DISABLED 0
/* LW8_WDT_PROP_WDT */
#define LW8_PROP_WDT_DISABLED 0
/* LW8_WDT_PROP_TO: integral number of seconds */
/* LW8_WDT_PROP_MODE */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_LW8_IMPL_H */