Annotation of xinu/h/xebec.h, revision 1.1.1.1

1.1       root        1: /* xebec.h */
                      2: 
                      3: /* Xebec S1410 5.25 inch Winchester Disk Controller */
                      4: 
                      5: struct xbdcb   {                       /* Xebec disk controller regs.  */
                      6:        char    xop;                    /* command class/opcode         */
                      7:        char    xunit;                  /* unit/high-order address bits */
                      8:        char    xmaddr;                 /* middle-order address bits    */
                      9:        char    xladdr;                 /* low-order address bits       */
                     10:        char    xcount;                 /* block count                  */
                     11:        char    xcntl;                  /* control field                */
                     12:        char    xres1;                  /* reserved field #1            */
                     13:        char    xres2;                  /* reserved field #2            */
                     14: };
                     15: 
                     16: /* Xebec controller operation codes */
                     17: 
                     18: #define        XOTDR    0                      /* Test Drive Ready             */
                     19: #define        XORCAL   1                      /* Recalibrate                  */
                     20: #define        XONONO   2                      /* Reserved (is a no-no)        */
                     21: #define        XORSS    3                      /* Request Sense Status         */
                     22: #define        XOFMTD   4                      /* Format Drive                 */
                     23: #define        XOCTF    5                      /* Check Track Format           */
                     24: #define        XOFMTT   6                      /* Format Track                 */
                     25: #define        XOFMTBT  7                      /* Format Bad Track             */
                     26: #define        XOREAD   8                      /* Read                         */
                     27: #define XONO2   9                      /* Reserved (is also a no-no)   */
                     28: #define        XOWRITE 10                      /* Write                        */
                     29: #define        XOSEEK  11                      /* Seek                         */
                     30: #define        XOINIT  12                      /* Initialize Drive Character.  */
                     31: #define        XOREBEL 13                      /* Read ECC Burst Error Length  */
                     32: #define        XORAMD  14                      /* Perform RAM Diagnostic Test  */
                     33: 
                     34: #define        XRETRY  0                       /* retry control byte           */

unix.superglobalmegacorp.com

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