#include "sys/types.h"
#include "sys/stream.h"
#include "sys/socket.h"
#include "/etc/conf/cf.d/config.h"
/* #include "config.h" */


/* interrupt level per board  */

#if defined(PCI3_UNITS)
#define PCIUNIT 4
ushort pciicintl[PCIUNIT] =
	{ PCI_0_VECT,PCI1_0_VECT,PCI2_0_VECT,PCI3_0_VECT };
ushort pciicioaddr[PCIUNIT] =
	{ PCI_0_SIOA,PCI1_0_SIOA,PCI2_0_SIOA,PCI3_0_SIOA };

#elif defined(PCI2_UNITS)
#define PCIUNIT 3
ushort pciicintl[PCIUNIT] =
	{ PCI_0_VECT,PCI1_0_VECT,PCI2_0_VECT };
ushort pciicioaddr[PCIUNIT] =
	{ PCI_0_SIOA,PCI1_0_SIOA,PCI2_0_SIOA };


#elif defined(PCI1_UNITS)
#define PCIUNIT 2
ushort pciicintl[PCIUNIT] = { PCI_0_VECT,PCI1_0_VECT };
ushort pciicioaddr[PCIUNIT] = { PCI_0_SIOA,PCI1_0_SIOA };


#elif defined(PCI_UNITS)
#define PCIUNIT  1
ushort pciicintl[PCIUNIT] = { PCI_0_VECT };
ushort pciicioaddr[PCIUNIT] = { PCI_0_SIOA };
#endif

ushort pci_BOARDS = PCIUNIT;

