scsbioctl.h revision 03831d35f7499c87d51205817c93e9a8d42c4bae
/*
* 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 2000 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _MONTERCARLO_SYS_SCSBIOCTL_H
#define _MONTERCARLO_SYS_SCSBIOCTL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* there are 32 data registers on the system controller board
* most are used in P1.0, all are used in P1.5
*/
#define SCSB_DATA_REGISTERS 48
/*
* SCSBIOC_GET_VERSIONS structure
*/
#define SCSB_MODSTR_LEN 64
#define SCSB_VERSTR_LEN 12
typedef struct scsb_ids {
char modldrv_string[SCSB_MODSTR_LEN];
char scsb_version[SCSB_VERSTR_LEN];
} scsb_ids_t;
typedef enum {
GET = 0,
SET = 1
} scsb_op_t;
typedef enum {
NOK = 0,
OK = 1,
NOUSE = 2
} scsb_led_t;
#define SCSB_LED_TYPES 2
typedef enum {
OFF = 0,
ON = 1,
BLINK = 2
typedef struct {
} scsb_uinfo_t;
/* SCSBIOC_GET_STATUS data */
typedef struct {
/* SCSBIOC_REG_READ / SCSBIOC_REG_WRITE data */
typedef struct {
#ifdef __cplusplus
}
#endif
#endif /* _MONTERCARLO_SYS_SCSBIOCTL_H */