/* * @(#) Space.c 7.1 94/11/27 SCOINC * * Copyright (C) The Santa Cruz Operation, 1993-1994. * This Module contains Proprietary Information of * The Santa Cruz Operation and should be treated * as Confidential. */ /* * System V STREAMS TCP - Release 4.0 * * Copyright 1987, 1988 Lachman Associates, Incorporated (LAI) * * All Rights Reserved. * * The copyright above and this notice must be preserved in all * copies of this source code. The copyright above does not * evidence any actual or intended publication of this source * code. * * This is unpublished proprietary trade secret source code of * Lachman Associates. This source code may not be copied, * disclosed, distributed, demonstrated or licensed except as * expressly authorized by Lachman Associates. * * System V STREAMS TCP was jointly developed by Lachman * Associates and Convergent Technologies. */ #include "sys/types.h" #include "sys/stream.h" #include "sys/mdi.h" #include "config.h" #include "space.h" #include "w3e.h" /* IRQ LEVEL */ u_int w3eintl[W3E_CNTLS] = { #ifdef W3E_0 W3E_0_IRQ, #endif #ifdef W3E_1 W3E_1_IRQ, #endif #ifdef W3E_2 W3E_2_IRQ, #endif #ifdef W3E_3 W3E_3_IRQ, #endif }; /* I/O BASE ADDRESS */ u_int w3eiobase[W3E_CNTLS] = { #ifdef W3E_0 W3E_0_BASE_IO, #endif #ifdef W3E_1 W3E_1_BASE_IO, #endif #ifdef W3E_2 W3E_2_BASE_IO, #endif #ifdef W3E_3 W3E_3_BASE_IO, #endif }; u_int w3e_nunit = W3E_CNTLS; struct w3edevice w3edevice[W3E_CNTLS]; extern int w3eopen(), w3eclose(), w3euwput(); extern int nulldev(); struct module_info w3e_minfo = { 0, "w3e", 1, w3eETHERMTU, 16*w3eETHERMTU, 12*w3eETHERMTU }; struct qinit w3eurinit = { 0, 0, w3eopen, w3eclose, nulldev, &w3e_minfo, 0 }; struct qinit w3euwinit = { w3euwput,0,w3eopen,w3eclose, nulldev, &w3e_minfo, 0 }; struct streamtab w3einfo = { &w3eurinit, &w3euwinit, 0, 0 };