/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	scc_data.c,v $
 * Revision 1.1.3.4  92/02/24  12:25:56  Heather_Gray
 * 	New header file "scc_common.h" required to support the sync driver
 * 	supplied by NaC (Australia).  Also added definitions for sscc_Probe()
 * 	and sscc_Attach() if WDD is not defined.  This is for the layered
 * 	product: "WAN Device Drivers".
 * 
 * 
 * Revision 1.1.3.3  91/12/18  21:41:39  William_Burns
 * 	date: 91/11/14 15:40:42;  author: devrcs;  state: Exp;  lines added/del: 3/3
 * 	sccs rev: 3.4;  orig date: 91/11/04 16:00:39;  orig author: larz
 * 	Change type of the "sccinfo" array to match definition of the 'ctlr_list'
 * 	field in "struct driver".
 * 	[91/12/18  10:23:12  William_Burns]
 * 
 * Revision 1.1.3.2  91/11/20  13:53:47  Hal_Project
 * 	Moved from dec/data; pool reorg
 * 	[91/11/18  00:45:34  Donald_Dutile]
 * 
 * Revision 4.2  91/09/19  23:24:36  devbld
 * 	Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: scc_data.c,v $ $Revision: 1.1.3.4 $ (DEC) $Date: 92/02/24 12:25:56 $
 */ 
/*
 */
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/*
 * OSF/1 Release 1.0
 */

/*
 * Modification History: scc_data.c
 *
 * 17-Apr-91	Kuo-Hsiung Hsieh
 *		Created file.
 */

#include <sys/secdefines.h>
#if SEC_BASE
#include <sys/security.h>
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/user.h>
#include <sys/proc.h>
#include <sys/map.h>
#include <sys/buf.h>
#include <sys/vm.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <vm/vm_kern.h>
#include <kern/xpr.h>
#include <hal/cpuconf.h>
#include <io/common/devdriver.h>
/* #include <sys/exec.h> */
/* #include <sys/kmalloc.h> */
/* #include <sys/sys_tpath.h> */
#include <io/dec/uba/ubavar.h>	/* auto-config headers */

#include <machine/cpu.h>
#include <io/dec/tc/ioasic.h>
#include <io/dec/tc/scc_common.h>   /* mjm - sync support */
#include <io/dec/tc/sccreg.h>
#include <io/dec/tc/slu.h>
#include <io/dec/ws/vsxxx.h>
#include <io/dec/tc/xcons.h>
#include <io/dec/tc/tc.h>

#include "scc.h"

#ifdef BINARY

extern	struct	tty scc_tty[];   /* tty structure */
extern	struct  slu slu;  
extern  int	nSCC;		/* number of SCC controllers */
extern	struct  scc_softc *sccsc;	/* software controller struct for scc */
extern	u_char	sccmodem[];	/* keeps track of modem state */
extern	int     scc_cbaud[];     /* baud rate integer flag */
extern	int     scc_brk[];             /* break condition */
extern	struct	timeval scctimestamp[];
extern	char	sccsoftCAR;
extern	char	sccdefaultCAR;
extern	int	scc_cnt;
extern	caddr_t	sccstd[];
extern	struct	controller *sccinfo[];
extern	struct 	scc_softc scc_softc[]; 

/* mjm - sync support */
#ifndef WDD
extern	int	sscc_Probe();
extern	int	sscc_Attach();
#endif

#else

struct	tty scc_tty[NSCCLINE];   /* tty structure */
struct  slu slu;  
struct  scc_softc *sccsc;	/* software controller struct for scc */
u_char	sccmodem[NSCCLINE];	/* keeps track of modem state */
int     scc_cbaud[NSCCLINE];     /* baud rate integer flag */
int     scc_brk[NSCCLINE];             /* break condition */
struct	timeval scctimestamp[NSCCLINE];
char	sccsoftCAR;
char	sccdefaultCAR;
int	scc_cnt = NSCCLINE;
caddr_t	sccstd[] = { 0 };
struct	controller *sccinfo[1];
struct 	scc_softc scc_softc[1]; 

/* mjm - sync support */
#ifndef WDD
int sscc_Probe(com)
int com;
{
    return( 0 );
}
int sscc_Attach(com)
int com;
{
    return( 0 );
}
#endif

#endif
