Annotation of researchv9/sys.vax/h/udaioc.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * ioctl info for uda driver
                      3:  * should eventually be generalized to all mscp
                      4:  */
                      5: 
                      6: #define        UIORRCT (('u'<<8) | 0)  /* read a block of the rct */
                      7: #define        UIOWRCT (('u'<<8) | 1)  /* write a block of rct */
                      8: #define        UIOCHAR (('u'<<8) | 2)  /* get drive characteristics (sizes) */
                      9: #define        UIOREPL (('u'<<8) | 3)  /* replace a block */
                     10: 
                     11: /*
                     12:  * struct for RRCT and WRCT
                     13:  */
                     14: 
                     15: struct ud_rctbuf {
                     16:        caddr_t buf;
                     17:        int     lbn;
                     18: };
                     19: 
                     20: /*
                     21:  * struct for REPL
                     22:  */
                     23: 
                     24: struct ud_repl {
                     25:        daddr_t replbn;         /* good block */
                     26:        daddr_t lbn;            /* bad block */
                     27:        short prim;             /* nonzero if primary replacement */
                     28: };
                     29: 
                     30: /*
                     31:  * struct for CHAR
                     32:  */
                     33: 
                     34: struct ud_unit {
                     35:        daddr_t radsize;                /* size, from ONLINE end packet */
                     36:        daddr_t rctsize;                /* rct size, from get unit status */
                     37:        long medium;                    /* generic type name */
                     38:        short tracksz;
                     39:        short groupsz;
                     40:        short cylsz;
                     41:        char rbns;
                     42:        char copies;
                     43: };

unix.superglobalmegacorp.com

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