|
|
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 - downloadIndex: T U s
Length: 1736 (0x6c8)
Types: TextFile
Notes: UNIX file
Names: »space.c«
└─⟦69f23ffa1⟧ Bits:30004042/kconfig2.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦69f23ffa1⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/etc/atconf/modules/lp/space.c«
/*
* PC AT Parallel port driver data structure definition.
*/
/*
* Copyrighted as an unpublished work.
* (c) Copyright 1987 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.4 - 88/05/27"
#ident "@(#) (c) Copyright INTERACTIVE Systems Corporation 1987"
#include "sys/param.h"
#include "sys/types.h"
#include "sys/tty.h"
#include "sys/lp.h"
/*
* The following define the printers supported by the lp driver. The default
* definitions are as defined below to support three printers with addresses
* as defined in the PC AT Technical Reference Manual. Note the device minor
* number in this data structure which must agree with the number assigned
* in the /dev directory.
*
*/
#define NUM_LP 3 /* number of supported printer ports */
#define P_LP0 0x03BC /* parallel port on monochrome adapter */
#define P_LP1 0x0378 /* parallel port on serial/parallel adapter 1 */
#define P_LP2 0x0278 /* parallel port on serial/parallel adapter 2 */
struct lp lpst[NUM_LP] = { /* initalize lp structure */
{{0, 0, 0}, 0, 0, 0, 0, 0, P_LP0+0, P_LP0+1, P_LP0+2, 0, 0, 0, 0, 0},
{{0, 0, 0}, 0, 0, 0, 0, 1, P_LP1+0, P_LP1+1, P_LP1+2, 0, 0, 0, 0, 0},
{{0, 0, 0}, 0, 0, 0, 0, 2, P_LP2+0, P_LP2+1, P_LP2+2, 0, 0, 0, 0, 0}
};
int num_lps = NUM_LP; /* define number of printers supported */