xref: /csrg-svn/sys/vax/bi/bivar.h (revision 44542)
134293Skarels /*
235041Sbostic  * Copyright (c) 1988 Regents of the University of California.
335041Sbostic  * All rights reserved.
435041Sbostic  *
535041Sbostic  * This code is derived from software contributed to Berkeley by
635041Sbostic  * Chris Torek.
735041Sbostic  *
8*44542Sbostic  * %sccs.include.redist.c%
935041Sbostic  *
10*44542Sbostic  *	@(#)bivar.h	7.3 (Berkeley) 06/28/90
1134293Skarels  */
1234293Skarels 
1334293Skarels /*
1434293Skarels  * Software status per BI node.
1534293Skarels  */
1634293Skarels 
1734293Skarels struct	binode_status {
1834293Skarels /*	int	bh_type;		/* type of adapter */
1934293Skarels 	struct	biiregs *bh_bi;		/* virt addr of registers */
2034293Skarels 	struct	biiregs *bh_physbi;	/* phys addr of registers */
2134293Skarels 	int	bh_errcnt;		/* number of errors */
2234293Skarels 	int	bh_ivec;		/* interrupt vector */
2334293Skarels 	int	bh_arb;			/* arbitration */
2434293Skarels };
2534293Skarels 
2634293Skarels /*
2734293Skarels  * ... per BI
2834293Skarels  */
2934293Skarels struct	bi_hd {
3034293Skarels 	short	bh_nodes;		/* which nodes are present */
3134293Skarels 	struct	binode_status bh_nodes[16];	/* info about those nodes */
3234293Skarels };
33