Annotation of 43BSDReno/sys/hpdev/fhpibreg.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1982, 1990 The Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * Redistribution is only permitted until one year after the first shipment
        !             6:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
        !             7:  * binary forms are permitted provided that: (1) source distributions retain
        !             8:  * this entire copyright notice and comment, and (2) distributions including
        !             9:  * binaries display the following acknowledgement:  This product includes
        !            10:  * software developed by the University of California, Berkeley and its
        !            11:  * contributors'' in the documentation or other materials provided with the
        !            12:  * distribution and in all advertising materials mentioning features or use
        !            13:  * of this software.  Neither the name of the University nor the names of
        !            14:  * its contributors may be used to endorse or promote products derived from
        !            15:  * this software without specific prior written permission.
        !            16:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            17:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            18:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            19:  *
        !            20:  *     @(#)fhpibreg.h  7.1 (Berkeley) 5/8/90
        !            21:  */
        !            22: 
        !            23: #define        vu_char volatile u_char
        !            24: 
        !            25: struct fhpibdevice {
        !            26:        u_char  hpib_pad0;
        !            27:        vu_char hpib_cid;
        !            28:        u_char  hpib_pad1;
        !            29: #define        hpib_ie         hpib_ids
        !            30:        vu_char hpib_ids;
        !            31:        u_char  hpib_pad2;
        !            32:        vu_char hpib_ctrl2;
        !            33:        u_char  hpib_pad3;
        !            34:        vu_char hpib_latch;
        !            35:        u_char  hpib_pad4[9];
        !            36:        vu_char hpib_intr;
        !            37:        u_char  hpib_pad5;
        !            38:        vu_char hpib_imask;
        !            39:        u_char  hpib_pad6;
        !            40:        vu_char hpib_data;
        !            41:        u_char  hpib_pad7;
        !            42:        vu_char hpib_stat;
        !            43:        u_char  hpib_pad8;
        !            44:        vu_char hpib_cmd;
        !            45:        u_char  hpib_pad9;
        !            46:        vu_char hpib_ar;
        !            47:        u_char  hpib_pad10;
        !            48:        vu_char hpib_pmask;
        !            49:        u_char  hpib_pad11;
        !            50:        vu_char hpib_psense;
        !            51: };
        !            52: 
        !            53: /* status bits */
        !            54: #define        ST_READ0        0xC0
        !            55: #define        ST_READ1        0x80
        !            56: #define        ST_IENAB        0x80
        !            57: #define        ST_EOI          0x80
        !            58: #define        ST_ATN          0x40
        !            59: #define        ST_WRITE        0x00
        !            60: 
        !            61: /* control bits */
        !            62: #define        CT_8BIT         0x80
        !            63: #define        CT_REN          0x20
        !            64: #define        CT_IFC          0x10
        !            65: #define        CT_FIFOSEL      0x02
        !            66: #define        CT_INITFIFO     0x01
        !            67: 
        !            68: #define        IM_PABORT       0x40
        !            69: #define        IM_PPRESP       0x20
        !            70: #define        IM_ROOM         0x08
        !            71: #define        IM_BYTE         0x04
        !            72: #define        IM_IDLE         0x02
        !            73: 
        !            74: #define        AR_ARONC        0x80

unix.superglobalmegacorp.com

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