Annotation of 40BSD/sys/h/mba.h, revision 1.1.1.1

1.1       root        1: /*     mba.h   4.1     11/9/80 */
                      2: 
                      3: /*
                      4:  * VAX Massbus adapter registers
                      5:  */
                      6: 
                      7: struct mba_regs
                      8: {
                      9:        int     mba_csr;
                     10:        int     mba_cr;
                     11:        int     mba_sr;
                     12:        int     mba_var;
                     13:        int     mba_bcr;
                     14:        int     mba_dr;
                     15:        int     mba_pad1[250];
                     16:        int     mba_erb[8][32];         /* external register base */
                     17:        struct  pte mba_map[256];
                     18: };
                     19: 
                     20: #define        MBAINIT         0x1
                     21: #define        MBAIE           0x4
                     22: 
                     23: #define        MBAEBITS        0xe0770
                     24: 
                     25: #define        PHYSMBA0        ((struct mba_regs *)0x20010000)
                     26: #define        PHYSMBA1        ((struct mba_regs *)0x20012000)
                     27: 
                     28: #define        mbadev(mba,unit)        ((struct device *)mba->mba_erb[unit])
                     29: 
                     30: #ifdef KERNEL
                     31: struct mba_info
                     32: {
                     33:        struct  mba_regs *mi_loc;       /* virtual mba */
                     34:        struct  mba_regs *mi_phys;      /* physical mba */
                     35:        struct  pte *mi_map;            /* page table base for nexus */
                     36: };
                     37: 
                     38: #define        MBA0            ((struct mba_regs *)0x80064000)
                     39: #define        MBA1            ((struct mba_regs *)0x80066000)
                     40: 
                     41: int    mbanum[];
                     42: struct mba_info mbainfo[];
                     43: int    mbaact;
                     44: #endif

unix.superglobalmegacorp.com

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