Annotation of 42BSD/sys/vaxuba/adreg.h, revision 1.1.1.1

1.1       root        1: /*     adreg.h 6.1     83/07/29        */
                      2: 
                      3: struct addevice {
                      4:        short int ad_csr;                       /* Control status register */
                      5:        short int ad_data;                      /* Data buffer */
                      6: };
                      7: 
                      8: #define AD_CHAN                ADIOSCHAN
                      9: #define AD_READ                ADIOGETW
                     10: #define        ADIOSCHAN       _IOW(a, 0, int)         /* set channel */
                     11: #define        ADIOGETW        _IOR(a, 1, int)         /* read one word */
                     12: 
                     13: /*
                     14:  * Unibus CSR register bits
                     15:  */
                     16: 
                     17: #define AD_START               01
                     18: #define AD_SCHMITT             020
                     19: #define AD_CLOCK               040
                     20: #define AD_IENABLE             0100
                     21: #define AD_DONE                0200
                     22: #define AD_INCENABLE           040000
                     23: #define AD_ERROR               0100000

unix.superglobalmegacorp.com

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