Annotation of Net2/arch/i386/isa/lptreg.h, revision 1.1

1.1     ! root        1: /*-
        !             2:  * Copyright (c) 1990 The Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * This code is derived from software contributed to Berkeley by
        !             6:  * William Jolitz.
        !             7:  *
        !             8:  * %sccs.include.noredist.c%
        !             9:  *
        !            10:  *      @(#)lptreg.h   1.1 (Berkeley) 12/19/90
        !            11:  */
        !            12: 
        !            13: /*
        !            14:  * AT Parallel Port (for lineprinter)
        !            15:  * Interface port and bit definitions
        !            16:  * Written by William Jolitz 12/18/90
        !            17:  * Copyright (C) William Jolitz 1990
        !            18:  */
        !            19: 
        !            20: #define lpt_data       0       /* Data to/from printer (R/W) */
        !            21: 
        !            22: #define lpt_status     1       /* Status of printer (R) */
        !            23: #define        LPS_NERR                0x08    /* printer no error */
        !            24: #define        LPS_SEL                 0x10    /* printer selected */
        !            25: #define        LPS_OUT                 0x20    /* printer out of paper */
        !            26: #define        LPS_NACK                0x40    /* printer no ack of data */
        !            27: #define        LPS_NBSY                0x80    /* printer no ack of data */
        !            28: 
        !            29: #define lpt_control    2       /* Control printer (R/W) */
        !            30: #define        LPC_STB                 0x01    /* strobe data to printer */
        !            31: #define        LPC_AUTOL               0x02    /* automatic linefeed */
        !            32: #define        LPC_NINIT               0x04    /* initialize printer */
        !            33: #define        LPC_SEL                 0x08    /* printer selected */
        !            34: #define        LPC_ENA                 0x10    /* printer out of paper */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.