/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_GP2CFG_H
#define _SYS_GP2CFG_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Header file for the Safari Configurator (gptwocfg).
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/safari_pcd.h>
/*
*/
typedef void *gptwocfg_cookie_t;
typedef void *gptwocfg_ops_cookie_t;
/*
* Prototypes for the platform specific functions.
*/
struct gptwo_phys_spec {
};
#define GP2_VERSION 0
struct gptwo_new_nodes {
/* actual size is gptwo_number_of_nodes */
};
typedef struct gptwocfg_config {
typedef struct gptwocfg_handle_list {
#define GPTWOCFG_OPS_VERSION 0
typedef struct gptwocfg_ops {
(dev_info_t *dip);
void gptwocfg_unregister_ops(uint_t);
void gptwocfg_free_node_list(gptwo_new_nodes_t *);
void gptwocfg_devi_attach_to_parent(dev_info_t *);
struct gfc_ops_v {
char *svc_name;
fc_ops_t *f;
};
#ifdef __cplusplus
}
#endif
#endif /* _SYS_GP2CFG_H */