xref: /original-bsd/sys/hp300/stand/hpibvar.h (revision f190575c)
147b3f2c5Smckusick /*
2*f190575cSbostic  * Copyright (c) 1982, 1990, 1993
3*f190575cSbostic  *	The Regents of the University of California.  All rights reserved.
447b3f2c5Smckusick  *
547b3f2c5Smckusick  * %sccs.include.redist.c%
647b3f2c5Smckusick  *
7*f190575cSbostic  *	@(#)hpibvar.h	8.1 (Berkeley) 06/10/93
847b3f2c5Smckusick  */
947b3f2c5Smckusick 
1047b3f2c5Smckusick #define	HPIBA		32
1147b3f2c5Smckusick #define	HPIBB		1
1247b3f2c5Smckusick #define	HPIBC		8
1347b3f2c5Smckusick #define	HPIBA_BA	21
1447b3f2c5Smckusick #define	HPIBC_BA	30
1547b3f2c5Smckusick 
1647b3f2c5Smckusick #define	CSA_BA		0x1F
1747b3f2c5Smckusick 
1847b3f2c5Smckusick #define	C_DCL		20
1947b3f2c5Smckusick #define	C_LAG		32
2047b3f2c5Smckusick #define	C_UNL		63
2147b3f2c5Smckusick #define	C_TAG		64
2247b3f2c5Smckusick #define	C_UNA		94
2347b3f2c5Smckusick #define	C_UNT		95
2447b3f2c5Smckusick #define	C_SCG		96
2547b3f2c5Smckusick 
2647b3f2c5Smckusick struct	hpib_softc {
2747b3f2c5Smckusick 	char	sc_alive;
2847b3f2c5Smckusick 	char	sc_type;
2947b3f2c5Smckusick 	int	sc_ba;
3047b3f2c5Smckusick 	char	*sc_addr;
3147b3f2c5Smckusick };
3247b3f2c5Smckusick 
3347b3f2c5Smckusick extern	struct hpib_softc hpib_softc[];
34