Annotation of 43BSDReno/sys/vaxbi/nireg.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1988 Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * This code is derived from software contributed to Berkeley by
        !             6:  * Chris Torek.
        !             7:  *
        !             8:  * Redistribution is only permitted until one year after the first shipment
        !             9:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
        !            10:  * binary forms are permitted provided that: (1) source distributions retain
        !            11:  * this entire copyright notice and comment, and (2) distributions including
        !            12:  * binaries display the following acknowledgement:  This product includes
        !            13:  * software developed by the University of California, Berkeley and its
        !            14:  * contributors'' in the documentation or other materials provided with the
        !            15:  * distribution and in all advertising materials mentioning features or use
        !            16:  * of this software.  Neither the name of the University nor the names of
        !            17:  * its contributors may be used to endorse or promote products derived from
        !            18:  * this software without specific prior written permission.
        !            19:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            20:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            21:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            22:  *
        !            23:  *     @(#)nireg.h     7.3 (Berkeley) 6/28/90
        !            24:  */
        !            25: 
        !            26: /*
        !            27:  * Registers for the DEBNA and DEBNK Ethernet interfaces
        !            28:  * (DEC calls these Network Interfaces, hence nireg.h)
        !            29:  */
        !            30: 
        !            31: /*
        !            32:  * this seems to be intended to be more general, but I have no details,
        !            33:  * so it goes here for now
        !            34:  *
        !            35:  * BI Vax Port (BVP) stuff first:
        !            36:  */
        !            37: struct bvpregs {
        !            38:        u_long  p_pcr;          /* port control register */
        !            39:        u_long  p_psr;          /* port status register */
        !            40:        u_long  p_per;          /* port error register */
        !            41:        u_long  p_pdr;          /* port data register */
        !            42: };
        !            43: 
        !            44: /*
        !            45:  * BI node space registers
        !            46:  */
        !            47: struct ni_regs {
        !            48:        struct  biiregs ni_bi;  /* BIIC registers, except GPRs */
        !            49:        struct  bvpregs ni_tkp; /* tk50 port control via BIIC GPRs */
        !            50:        u_long  ni_xxx[64];     /* unused */
        !            51:        u_long  ni_rxcd;        /* receive console data */
        !            52:        struct  bvpregs ni_nip; /* NI port control via BCI3 GPRs */
        !            53:        u_long  ni_pudr;        /* power-up diagnostic register */
        !            54: };
        !            55: 
        !            56: /* bits in ni_pudr */
        !            57: #define        PUDR_TAPE       0x40000000      /* tk50 & assoc logic ok */
        !            58: #define        PUDR_PATCH      0x20000000      /* patch logic ok */
        !            59: #define        PUDR_VRAM       0x10000000      /* DEBNx onboard RAM ok */
        !            60: #define        PUDR_VROM1      0x08000000      /* uVax ROM 1 ok */ /* ? */
        !            61: #define        PUDR_VROM2      0x04000000      /* uVax ROM 2 ok */
        !            62: #define        PUDR_VROM3      0x02000000      /* uVax ROM 3 ok */
        !            63: #define        PUDR_VROM4      0x01000000      /* uVax ROM 4 ok */
        !            64: #define        PUDR_UVAX       0x00800000      /* uVax passes self test */
        !            65: #define        PUDR_BI         0x00400000      /* BIIC and BCI3 chips ok */
        !            66: #define        PUDR_TMR        0x00200000      /* interval timer ok */
        !            67: #define        PUDR_IRQ        0x00100000      /* no IRQ lines stuck */
        !            68: #define        PUDR_NI         0x00080000      /* Ethernet ctlr ok */
        !            69: #define        PUDR_TK50       0x00040000      /* tk50 present */
        !            70: #define        PUDR_PRES       0x00001000      /* tk50 present (again?!) */
        !            71: #define        PUDR_UVINT      0x00000800      /* uVax-to-80186 intr logic ok */
        !            72: #define        PUDR_BUSHD      0x00000400      /* no bus hold errors */
        !            73: #define        PUDR_II32       0x00000200      /* II32 transceivers ok */
        !            74: #define        PUDR_MPSC       0x00000100      /* MPSC logic ok */
        !            75: #define        PUDR_GAP        0x00000080      /* gap-detect logic ok */
        !            76: #define        PUDR_MISC       0x00000040      /* misc. registers ok */
        !            77: #define        PUDR_UNEXP      0x00000020      /* unexpected interrupt trapped */
        !            78: #define        PUDR_80186      0x00000010      /* 80186 ok */
        !            79: #define        PUDR_PATCH      0x00000008      /* patch logic ok (again) */
        !            80: #define        PUDR_8RAM       0x00000004      /* 80186 RAM ok */
        !            81: #define        PUDR_8ROM2      0x00000002      /* 80186 ROM1 ok */
        !            82: #define        PUDR_8ROM1      0x00000001      /* 80186 ROM2 ok */

unix.superglobalmegacorp.com

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