/* Copyright (c) 1989, 1990 ERSO/ITRI */ /* Copyright (c) 1990 CCL/ITRI */ /* System Software Department CCL/ITRI */ /* All Rights Reserved */ /* space.c */ #include "config.h" int num_dev = ETHER_CNTLS; /* Number of boards */ typedef struct { int start_addr; /* RAM starting address */ int end_addr; /* RAM ending address */ int IRQ; /* Interrupt */ int maj_dev; /* major device */ int PORT; /* I/O address */ } T_ether_sdev; T_ether_sdev Sdev[ETHER_CNTLS] = { #ifdef ETHER_0 { ETHER_0_SCMA, /* RAM starting address */ ETHER_0_ECMA, /* RAM ending address */ ETHER_0_VECT, /* IRQ */ ETHER_CMAJOR_0, /* major device(not available for PRE-SVR4) If you are installing UNIX release 3.2, change ETHER_CMAJOR_0 into a constant(This constant must be consistent with major device of ether in file /etc/conf/cf.d/mdevice). */ ETHER_0_SIOA, /* I/O address */ } #endif #ifdef ETHER_1 , { ETHER_1_SCMA, /* RAM starting address */ ETHER_1_ECMA, /* RAM ending address */ ETHER_1_VECT, /* IRQ */ ETHER_CMAJOR_1, /* major device(not available for PRE-SVR4) If you are installing UNIX release 3.2, change ETHER_CMAJOR_1 into a constant(This constant must be consistent with major device of ether in file /etc/conf/cf.d/mdevice). */ ETHER_1_SIOA, /* I/O address */ } #endif #ifdef ETHER_2 , { ETHER_2_SCMA, /* RAM starting address */ ETHER_2_ECMA, /* RAM ending address */ ETHER_2_VECT, /* IRQ */ ETHER_CMAJOR_2, /* major device(not available for PRE-SVR4) If you are installing UNIX release 3.2, change ETHER_CMAJOR_2 into a constant(This constant must be consistent with major device of ether in file /etc/conf/cf.d/mdevice). */ ETHER_2_SIOA, /* I/O address */ } #endif #ifdef ETHER_3 , { ETHER_3_SCMA, /* RAM starting address */ ETHER_3_ECMA, /* RAM ending address */ ETHER_3_VECT, /* IRQ */ ETHER_CMAJOR_3, /* major device(not available for PRE-SVR4) If you are installing UNIX release 3.2, change ETHER_CMAJOR_3 into a constant(This constant must be consistent with major device of ether in file /etc/conf/cf.d/mdevice). */ ETHER_3_SIOA, /* I/O address */ } #endif #ifdef ETHER_4 , { ETHER_4_SCMA, /* RAM starting address */ ETHER_4_ECMA, /* RAM ending address */ ETHER_4_VECT, /* IRQ */ ETHER_CMAJOR_4, /* major device(not available for PRE-SVR4) If you are installing UNIX release 3.2, change ETHER_CMAJOR_4 into a constant(This constant must be consistent with major device of ether in file /etc/conf/cf.d/mdevice). */ ETHER_4_SIOA, /* I/O address */ } #endif };