scfparam.h revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
/*
* 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
*/
/*
* All Rights Reserved, Copyright (c) FUJITSU LIMITED 2006
*/
#ifndef _SCFPARAM_H
#define _SCFPARAM_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Common table
*/
extern void *scfstate; /* root of soft state */
extern char *scf_driver_name; /* SCF driver name */
/*
* SCF driver control mode
*/
/*
* SRAM trace date size
*/
/*
* Wait timer value (Micro-second)
*/
extern uint_t scf_rdctrl_sense_wait;
/* SCFIOCRDCTRL wait timer value (60s) */
/*
* Wait timer value
*/
extern uint_t scf_buf_ful_rtime;
/* Buff full wait retry timer value (500ms) */
extern uint_t scf_rci_busy_rtime;
/* RCI busy wait retry timer value (3s) */
/*
* Re-try counter
*/
/*
* Max value
*/
/*
* Poff factor (reported on shutdown start)
*/
#define SCF_POFF_FACTOR_NORMAL 0
#define SCF_POFF_FACTOR_PFAIL 1
/*
* Alive check parameter
*/
/*
* FMEMA interface
*/
/*
* Send break interface
*/
extern int scf_dm_secure_mode; /* secure mode */
/*
* ioctl control value and flag
*/
extern int scf_save_hac_flag; /* Host address disp flag */
/*
* Register read sync value
*/
/*
* Panic value
*/
extern uint_t scf_cmdend_wait_time_panic;
/* SCF command end wait timer value (1s) */
/*
* Panic trace
*/
#define SCF_PANIC_TRACE(x) \
#ifdef __cplusplus
}
#endif
#endif /* _SCFPARAM_H */