134293Skarels /* 2*35041Sbostic * Copyright (c) 1988 Regents of the University of California. 3*35041Sbostic * All rights reserved. 4*35041Sbostic * 5*35041Sbostic * This code is derived from software contributed to Berkeley by 6*35041Sbostic * Chris Torek. 7*35041Sbostic * 8*35041Sbostic * Redistribution and use in source and binary forms are permitted 9*35041Sbostic * provided that the above copyright notice and this paragraph are 10*35041Sbostic * duplicated in all such forms and that any documentation, 11*35041Sbostic * advertising materials, and other materials related to such 12*35041Sbostic * distribution and use acknowledge that the software was developed 13*35041Sbostic * by the University of California, Berkeley. The name of the 14*35041Sbostic * University may not be used to endorse or promote products derived 15*35041Sbostic * from this software without specific prior written permission. 16*35041Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17*35041Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18*35041Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19*35041Sbostic * 20*35041Sbostic * @(#)bivar.h 7.2 (Berkeley) 07/09/88 2134293Skarels */ 2234293Skarels 2334293Skarels /* 2434293Skarels * Software status per BI node. 2534293Skarels */ 2634293Skarels 2734293Skarels struct binode_status { 2834293Skarels /* int bh_type; /* type of adapter */ 2934293Skarels struct biiregs *bh_bi; /* virt addr of registers */ 3034293Skarels struct biiregs *bh_physbi; /* phys addr of registers */ 3134293Skarels int bh_errcnt; /* number of errors */ 3234293Skarels int bh_ivec; /* interrupt vector */ 3334293Skarels int bh_arb; /* arbitration */ 3434293Skarels }; 3534293Skarels 3634293Skarels /* 3734293Skarels * ... per BI 3834293Skarels */ 3934293Skarels struct bi_hd { 4034293Skarels short bh_nodes; /* which nodes are present */ 4134293Skarels struct binode_status bh_nodes[16]; /* info about those nodes */ 4234293Skarels }; 43