Annotation of 42BSD/sys/vaxuba/dzreg.h, revision 1.1

1.1     ! root        1: /*     dzreg.h 6.1     83/07/29        */
        !             2: 
        !             3: /*
        !             4:  * DZ-11/DZ-32 Registers and bits.
        !             5:  */
        !             6: struct dzdevice {
        !             7:        short dzcsr;
        !             8:        short dzrbuf;
        !             9:        union {
        !            10:                struct {
        !            11:                        char    dztcr0;
        !            12:                        char    dzdtr0;
        !            13:                        char    dztbuf0;
        !            14:                        char    dzbrk0;
        !            15:                } dz11;
        !            16:                struct {
        !            17:                        short   dzlcs0;
        !            18:                        char    dztbuf0;
        !            19:                        char    dzlnen0;
        !            20:                } dz32;
        !            21:        } dzun;
        !            22: };
        !            23: 
        !            24: #define dzlpr  dzrbuf
        !            25: #define dzmsr  dzun.dz11.dzbrk0
        !            26: #define dztcr  dzun.dz11.dztcr0
        !            27: #define dzdtr  dzun.dz11.dzdtr0
        !            28: #define dztbuf dzun.dz11.dztbuf0
        !            29: #define dzlcs  dzun.dz32.dzlcs0
        !            30: #define        dzbrk   dzmsr
        !            31: #define dzlnen dzun.dz32.dzlnen0
        !            32: #define dzmtsr dzun.dz32.dztbuf0
        !            33: 
        !            34: /* bits in dzlpr */
        !            35: #define        BITS7   0020
        !            36: #define        BITS8   0030
        !            37: #define        TWOSB   0040
        !            38: #define        PENABLE 0100
        !            39: #define        OPAR    0200
        !            40: 
        !            41: /* bits in dzrbuf */
        !            42: #define        DZ_PE   010000
        !            43: #define        DZ_FE   020000
        !            44: #define        DZ_DO   040000
        !            45: 
        !            46: /* bits in dzcsr */
        !            47: #define        DZ_32   000001          /* DZ32 mode */
        !            48: #define        DZ_MIE  000002          /* Modem Interrupt Enable */
        !            49: #define        DZ_CLR  000020          /* Reset dz */
        !            50: #define        DZ_MSE  000040          /* Master Scan Enable */
        !            51: #define        DZ_RIE  000100          /* Receiver Interrupt Enable */
        !            52: #define DZ_MSC 004000          /* Modem Status Change */
        !            53: #define        DZ_SAE  010000          /* Silo Alarm Enable */
        !            54: #define        DZ_TIE  040000          /* Transmit Interrupt Enable */
        !            55: #define        DZ_IEN  (DZ_32|DZ_MIE|DZ_MSE|DZ_RIE|DZ_TIE|DZ_SAE)
        !            56: 
        !            57: /* flags for modem-control */
        !            58: #define        DZ_ON   DZ_DTR
        !            59: #define        DZ_OFF  0
        !            60: 
        !            61: /* bits in dzlcs */
        !            62: #define DZ_ACK 0100000         /* ACK bit in dzlcs */
        !            63: #define DZ_RTS 0010000         /* Request To Send */
        !            64: #define        DZ_ST   0004000         /* Secondary Transmit */
        !            65: #define        DZ_BRK  0002000         /* Break */
        !            66: #define DZ_DTR 0001000         /* Data Terminal Ready */
        !            67: #define        DZ_LE   0000400         /* Line Enable */
        !            68: #define        DZ_DSR  0000200         /* Data Set Ready */
        !            69: #define        DZ_RI   0000100         /* Ring Indicate */
        !            70: #define DZ_CD  0000040         /* Carrier Detect */
        !            71: #define        DZ_CTS  0000020         /* Clear To Send */
        !            72: #define        DZ_SR   0000010         /* Secondary Receive */
        !            73:  
        !            74: /* bits in dm lsr, copied from dmreg.h */
        !            75: #define        DML_DSR         0000400         /* data set ready, not a real DM bit */
        !            76: #define        DML_RNG         0000200         /* ring */
        !            77: #define        DML_CAR         0000100         /* carrier detect */
        !            78: #define        DML_CTS         0000040         /* clear to send */
        !            79: #define        DML_SR          0000020         /* secondary receive */
        !            80: #define        DML_ST          0000010         /* secondary transmit */
        !            81: #define        DML_RTS         0000004         /* request to send */
        !            82: #define        DML_DTR         0000002         /* data terminal ready */
        !            83: #define        DML_LE          0000001         /* line enable */

unix.superglobalmegacorp.com

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