|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1373 (0x55d) Types: TextFile Notes: UNIX file Names: »Space.c«
└─⟦f660c3862⟧ Bits:30004068/disk1.imd Interactive TCP/IP v.1.2 └─⟦f660c3862⟧ UNIX Filesystem └─⟦this⟧ »hb/driver/sl/Space.c«
/* * Streams-based SLIP driver * * Copyrighted as an unpublished work. * (c) Copyright 1988 INTERACTIVE Systems Corporation * All rights reserved. * * RESTRICTED RIGHTS: * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. */ #ident "@(#)Space.c 1.1 - 89/07/12" #ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1988" #include "sys/types.h" #include "sys/stream.h" #include "sys/bsdtypes.h" #include "sys/llc.h" #include "sys/sl.h" #ifdef MERGE #include "config.h" #define SL_MAJOR0 SL_CMAJ #else #define SL_MAJOR0 36 #endif /* MERGE */ #define NSTR 6 int sl_cnt = NSL; /* number of boards */ struct llcdev sldevs[NSTR*NSL]; /* minor device structures */ struct slstats sl_stats[NSL]; /* stats struct */ struct llcparam slparams[NSL] = { { 0, /* board index */ 0, /* interrupt level */ 0, /* I/O port base */ 0, /* I/O port range */ 0, /* base memory address */ 0, /* memory size */ 0, /* mapped shared memory */ 0, 0, SL_MAJOR0, NSTR } }; #ifdef SLDEBUG int sldebug = 0; #endif /* SLDEBUG */