1*1708Sstevel /* 2*1708Sstevel * CDDL HEADER START 3*1708Sstevel * 4*1708Sstevel * The contents of this file are subject to the terms of the 5*1708Sstevel * Common Development and Distribution License, Version 1.0 only 6*1708Sstevel * (the "License"). You may not use this file except in compliance 7*1708Sstevel * with the License. 8*1708Sstevel * 9*1708Sstevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*1708Sstevel * or http://www.opensolaris.org/os/licensing. 11*1708Sstevel * See the License for the specific language governing permissions 12*1708Sstevel * and limitations under the License. 13*1708Sstevel * 14*1708Sstevel * When distributing Covered Code, include this CDDL HEADER in each 15*1708Sstevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*1708Sstevel * If applicable, add the following below this CDDL HEADER, with the 17*1708Sstevel * fields enclosed by brackets "[]" replaced with your own identifying 18*1708Sstevel * information: Portions Copyright [yyyy] [name of copyright owner] 19*1708Sstevel * 20*1708Sstevel * CDDL HEADER END 21*1708Sstevel */ 22*1708Sstevel /* 23*1708Sstevel * Copyright (c) 1999-2000 by Sun Microsystems, Inc. 24*1708Sstevel * All rights reserved. 25*1708Sstevel */ 26*1708Sstevel 27*1708Sstevel #ifndef _MONTECARLO_SYS_HSC_H 28*1708Sstevel #define _MONTECARLO_SYS_HSC_H 29*1708Sstevel 30*1708Sstevel #pragma ident "%Z%%M% %I% %E% SMI" 31*1708Sstevel 32*1708Sstevel #ifdef __cplusplus 33*1708Sstevel extern "C" { 34*1708Sstevel #endif 35*1708Sstevel 36*1708Sstevel /* 37*1708Sstevel * These functions serve as the interface between the SCSB and the HSC 38*1708Sstevel */ 39*1708Sstevel int hsc_slot_occupancy(int, boolean_t, int, int); 40*1708Sstevel int hsc_board_healthy(int slot_number, boolean_t healthy); 41*1708Sstevel int hsc_init(); 42*1708Sstevel int hsc_fini(); 43*1708Sstevel void hsc_ac_op(); 44*1708Sstevel int scsb_hsc_attach(dev_info_t *, void *, int); 45*1708Sstevel int scsb_hsc_detach(dev_info_t *, void *, int); 46*1708Sstevel int scsb_get_slot_state(); 47*1708Sstevel int scsb_reset_slot(); 48*1708Sstevel int scsb_connect_slot(); 49*1708Sstevel int scsb_disconnect_slot(); 50*1708Sstevel int scsb_hsc_ac_op(); 51*1708Sstevel int scsb_hsc_freeze(dev_info_t *); 52*1708Sstevel int scsb_hsc_restore(dev_info_t *); 53*1708Sstevel int scsb_hsc_freeze_check(dev_info_t *); 54*1708Sstevel 55*1708Sstevel 56*1708Sstevel #ifdef __cplusplus 57*1708Sstevel } 58*1708Sstevel #endif 59*1708Sstevel 60*1708Sstevel #endif /* _MONTECARLO_SYS_HSC_H */ 61