emlxs_extern.h revision bb63f56ebeb244bd34f5e8d50900e3420f01b394
/*
* 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 2009 Emulex. All rights reserved.
* Use is subject to License terms.
*/
#ifndef _EMLXS_EXTERN_H
#define _EMLXS_EXTERN_H
#ifdef __cplusplus
extern "C" {
#endif
extern void *emlxs_soft_state;
extern uint32_t emlxs_instance_count;
extern char emlxs_revision[32];
extern char emlxs_version[32];
extern char emlxs_name[64];
extern char emlxs_label[64];
extern emlxs_device_t emlxs_device;
extern uint32_t emlxs_instance_count;
extern ddi_dma_lim_t emlxs_dma_lim;
extern uint32_t emlxs_diag_state;
extern emlxs_config_t emlxs_cfg[];
extern ddi_dma_attr_t emlxs_dma_attr;
extern ddi_dma_attr_t emlxs_dma_attr_ro;
extern ddi_dma_attr_t emlxs_dma_attr_1sg;
/* Module emlxs_msg.c External Routine Declarations */
const char *fmt, ...);
/* Module emlxs_solaris.c External Routine Declarations */
const char *fmt, ...);
fc_packet_t *pkt);
fc_packet_t *pkt);
#ifdef SAN_DIAG_SUPPORT
#endif /* SAN_DIAG_SUPPORT */
fc_fca_pm_t *pm);
#ifdef MENLO_SUPPORT
#endif /* MENLO_SUPPORT */
#ifdef FMA_SUPPORT
char *detail);
int impact);
const void *impl_data);
#endif /* FMA_SUPPORT */
/* Module emlxs_pkt.c External Routine Declarations */
/* Module emlxs_clock.c External Routine Declarations */
/* Module emlxs_dhchap.c External Routine Declarations */
#ifdef DHCHAP_SUPPORT
void *newtimeout, void *node);
emlxs_node_t *node);
char **msg);
#endif /* DHCHAP_SUPPORT */
/* Module emlxs_node.c External Routine Declarations */
/* Module emlxs_els.c External Routine Declarations */
#ifdef MENLO_SUPPORT
#endif /* MENLO_SUPPORT */
/* Module emlxs_ip.c External Routine Declarations */
/* Module emlxs_mbox.c External Routine Declarations */
#ifdef SLI3_SUPPORT
#endif /* SLI3_SUPPORT */
/* Module emlxs_mem.c External Routine Declarations */
#ifdef SLI3_SUPPORT
#endif /* SLI3_SUPPORT */
/* Module emlxs_hba.c External Routine Declarations */
emlxs_vpd_t *vp);
char *buffer);
#ifdef MSI_SUPPORT
#endif /* MSI_SUPPORT */
/* Module emlxs_sli.c External Routine Declarations */
emlxs_buf_t *sbp);
#ifdef SLI3_SUPPORT
emlxs_buf_t *sbp);
#endif
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
#ifdef SFCT_SUPPORT
#endif /* SFCT_SUPPORT */
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
emlxs_buf_t *sbp);
#ifdef MSI_SUPPORT
#endif /* MSI_SUPPORT */
/* Module emlxs_diag.c External Routine Declarations */
/* Module emlxs_download.c External Routine Declarations */
/* Module emlxs_fcp.c External Routine Declarations */
emlxs_buf_t *sbp);
emlxs_buf_t *fpkt);
emlxs_buf_t *fpkt);
emlxs_buf_t *fpkt);
/* Module emlxs_thread.c External Routine Declarations */
void (*func) ());
void *arg2);
/* Module emlxs_dfc.c External Routine Declarations */
#ifdef SFCT_SUPPORT
/* Module emlxs_fct.c External Routine Declarations */
#ifdef MODSYM_SUPPORT
extern void emlxs_fct_modclose();
#endif /* MODSYM_SUPPORT */
#ifdef FCT_IO_TRACE
extern void emlxs_fct_io_trace(emlxs_port_t *,
#endif /* FCT_IO_TRACE */
#endif /* SFCT_SUPPORT */
#ifdef SAN_DIAG_SUPPORT
extern void emlxs_log_sd_scsi_check_event(
#endif /* SAN_DIAG_SUPPORT */
#ifdef DUMP_SUPPORT
/* Module emlxs_dump.c External Routine Declarations */
#endif /* DUMP_SUPPORT */
#ifdef __cplusplus
}
#endif
#endif /* _EMLXS_EXTERN_H */