/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	sysap_data.c,v $
 * Revision 1.1.2.2  92/02/24  11:43:52  Peter_Keilty
 * 	Code cleanup and merge of AG.latest
 * 	[92/02/18  15:59:31  Peter_Keilty]
 * 
 * 	Initial checkin of DSA IO subsystem and
 * 	related system files
 * 	[92/02/12  18:35:58  Peter_Keilty]
 * 
 * $EndLog$
 */
#ifndef lint
static char *rcsid = "@(#)$RCSfile: sysap_data.c,v $ $Revision: 1.1.2.2 $ (DEC) $Date: 92/02/24 11:43:52 $";
#endif
/*
 * derived from sysap_data.c	4.1	(ULTRIX)	7/2/90";
 */
/*
 *   Facility:	Systems Communication Architecture
 *
 *   Abstract:	This module contains the global table of routines that
 *		initialize and or start System Applications (SYSAPS).
 *
 *
 *   Creator:	Larry Cohen	Creation Date:  March 13, 1987
 *
 *   History:
 *
 *   14-Mar-88	Larry Cohen
 *	Initialize scs before other sysaps start up.
 *
 *   18-Apr-88  Ricky Palmer
 *	Added support for MSI (Mass Storage Interconnect) on MF2.
 *
 *   16-Jun-88		larry
 *	mscp drivers initialized when uq,bvpssp,ci, or msi are configured in.
 *
 */
/**/


#include	<sys/types.h>
#include	<sys/param.h>
#include	<sys/time.h>
#include	<dec/binlog/errlog.h>
#include 	<io/dec/sysap/sysap_start.h>

#include "uq.h"
#include "ci.h"
#include "msi.h"
#include "bvpssp.h"
#include "inet.h"
#include "scsnet.h"


#if NCI > 0 || NUQ > 0 || NBVPSSP > 0 || NMSI > 0
	extern void scsdir_init();
	extern void scs_initialize();
#	define SYSAP_SCS$DIRECTORY scsdir_init
#	define SCS_INIT scs_initialize
#else
#	define SYSAP_SCS$DIRECTORY 0
#	define SCS_INIT 0
#endif

#if NCI > 0 && NINET > 0 && NSCSNET > 0
	extern void scsnet_attach();
#	define SYSAP_SCSNET scsnet_attach
#else
#	define SYSAP_SCSNET 0
#endif

#if NCI > 0 || NUQ > 0 || NBVPSSP > 0 || NMSI > 0
	extern void mscp_init_driver();
#	define SYSAP_MSCP mscp_init_driver
#else
#	define SYSAP_MSCP 0
#endif


#if NCI > 0 || NUQ > 0 || NBVPSSP > 0 || NMSI > 0
	extern void      tmscp_init_driver();
#	define SYSAP_TMSCP tmscp_init_driver
#else
#	define SYSAP_TMSCP 0
#endif

#ifndef BINARY

	Sysap_start sysaps[] = {
		SCS_INIT,
		SYSAP_SCS$DIRECTORY,
		SYSAP_SCSNET,
		SYSAP_TMSCP,
		SYSAP_MSCP,
		SYSAP_LAST
	};

#endif
