#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(PNP3_UNITS) #define PNPUNIT 4 ushort pnpicintl[PNPUNIT] = { PNP_0_VECT,PNP1_0_VECT,PNP2_0_VECT,PNP3_0_VECT }; ushort pnpicioaddr[PNPUNIT] = { PNP_0_SIOA,PNP1_0_SIOA,PNP2_0_SIOA,PNP3_0_SIOA }; #elif defined(PNP2_UNITS) #define PNPUNIT 3 ushort pnpicintl[PNPUNIT] = { PNP_0_VECT,PNP1_0_VECT,PNP2_0_VECT }; ushort pnpicioaddr[PNPUNIT] = { PNP_0_SIOA,PNP1_0_SIOA,PNP2_0_SIOA }; #elif defined(PNP1_UNITS) #define PNPUNIT 2 ushort pnpicintl[PNPUNIT] = { PNP_0_VECT,PNP1_0_VECT }; ushort pnpicioaddr[PNPUNIT] = { PNP_0_SIOA,PNP1_0_SIOA }; #elif defined(PNP_UNITS) #define PNPUNIT 1 ushort pnpicintl[PNPUNIT] = { PNP_0_VECT }; ushort pnpicioaddr[PNPUNIT] = { PNP_0_SIOA }; #endif ushort pnp_BOARDS = PNPUNIT;