Annotation of researchv10dc/lsys/sys/kc.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * for datakit simple cure driver
        !             3:  */
        !             4: 
        !             5: /*
        !             6:  * per channel
        !             7:  */
        !             8: struct kc {
        !             9:        struct  queue *dkrq;
        !            10:        char    flag;
        !            11:        u_char  chan;
        !            12:        struct  kc *link;
        !            13: };
        !            14: 
        !            15: #define        NCTL    4
        !            16: struct cmd {
        !            17:        long    ubaddr;
        !            18:        unsigned short count;
        !            19:        unsigned char chan;
        !            20:        unsigned char flag;
        !            21:        unsigned short ctl[NCTL];
        !            22: };
        !            23: 
        !            24: /*
        !            25:  * per interface
        !            26:  */
        !            27: 
        !            28: #define        NCBUF   4
        !            29: 
        !            30: struct kccure {
        !            31:        char    flags;
        !            32:        char    kno;                    /* which cure is ours */
        !            33:        char    ubno;                   /* which unibus has the cure */
        !            34:        struct  device *addr;           /* cure registers */
        !            35:        struct  cmd xcbuf[NCBUF];       /* xcommand buffers */
        !            36:        struct  cmd rcbuf[NCBUF];       /* rcommand buffers */
        !            37:        struct  block *obp[NCBUF];      /* current output blocks */
        !            38:        struct  block *ibp[NCBUF];      /* current input blocks */
        !            39:        ubm_t   imap[NCBUF];            /* unibus map cookies */
        !            40:        ubm_t   omap[NCBUF];
        !            41:        struct kc *xfirst, *xlast;      /* pending transmit channels */
        !            42:        struct dkmodule *modp;
        !            43: };

unix.superglobalmegacorp.com

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