home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Internet 2000 December
/
MICD_2000_12_NR1.iso
/
Dreamnet
/
drivery
/
Trendware
/
Te-16pct.exe
/
SCOUNIX
/
4.X
/
SPACE.C
< prev
next >
Wrap
Text File
|
1995-08-21
|
932b
|
39 lines
#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(R0E3_UNITS)
#define R0EUNIT 4
ushort r0eicintl[R0EUNIT] =
{ R0E_0_VECT,R0E1_0_VECT,R0E2_0_VECT,R0E3_0_VECT };
ushort r0eicioaddr[R0EUNIT] =
{ R0E_0_SIOA,R0E1_0_SIOA,R0E2_0_SIOA,R0E3_0_SIOA };
#elif defined(R0E2_UNITS)
#define R0EUNIT 3
ushort r0eicintl[R0EUNIT] =
{ R0E_0_VECT,R0E1_0_VECT,R0E2_0_VECT };
ushort r0eicioaddr[R0EUNIT] =
{ R0E_0_SIOA,R0E1_0_SIOA,R0E2_0_SIOA };
#elif defined(R0E1_UNITS)
#define R0EUNIT 2
ushort r0eicintl[R0EUNIT] = { R0E_0_VECT,R0E1_0_VECT };
ushort r0eicioaddr[R0EUNIT] = { R0E_0_SIOA,R0E1_0_SIOA };
#elif defined(R0E_UNITS)
#define R0EUNIT 1
ushort r0eicintl[R0EUNIT] = { R0E_0_VECT };
ushort r0eicioaddr[R0EUNIT] = { R0E_0_SIOA };
#endif
ushort r0e_BOARDS = R0EUNIT;