Annotation of coherent/d/PS2_KERNEL/include/sys/ss.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * ss.h
        !             3:  *
        !             4:  * Header for Seagate ST01/ST02 and Future Domain SCSI host adapters.
        !             5:  *
        !             6:  * $Log
        !             7:  */
        !             8: 
        !             9: /*
        !            10:  * Constants.
        !            11:  */
        !            12: #define SS_RAM         0x1800  /* Offset of parameter RAM */
        !            13: #define SS_CSR         0x1A00  /* Offset of control/status register */
        !            14: #define SS_DAT         0x1C00  /* Offset of data port */
        !            15: 
        !            16: #define SS_RAM_LEN     128     /* ST0x has 128 bytes of RAM */
        !            17: #define SS_DAT_LEN     0x400   /* Byte range mapped to data port */
        !            18: #define SS_SEL_LEN     0x2000  /* Total size of memory-mapped area */
        !            19: 
        !            20: #define WC_ENABLE_SCSI 0x80    /* Write Control (WC) register bits */
        !            21: #define WC_ENABLE_IRPT 0x40
        !            22: #define WC_ENABLE_PRTY 0x20
        !            23: #define WC_ARBITRATE   0x10
        !            24: #define WC_ATTENTION   0x08
        !            25: #define WC_BUSY        0x04
        !            26: #define WC_SELECT      0x02
        !            27: #define WC_SCSI_RESET          0x01
        !            28: 
        !            29: #define RS_ARBIT_COMPL 0x80    /* Read STATUS (RS) register bits */
        !            30: #define RS_PRTY_ERROR  0x40
        !            31: #define RS_SELECT      0x20
        !            32: #define RS_REQUEST     0x10
        !            33: #define RS_CTRL_DATA   0x08
        !            34: #define RS_I_O         0x04
        !            35: #define RS_MESSAGE     0x02
        !            36: #define RS_BUSY        0x01
        !            37: 
        !            38: /*
        !            39:  * Import Functions.
        !            40:  */
        !            41: 
        !            42: /* functions from ssqueue.c */
        !            43: extern void ssq_wr_tail();
        !            44: extern BUF * ssq_rd_head();
        !            45: extern BUF * ssq_rm_head();
        !            46: 
        !            47: /* functions from ssas.s */
        !            48: extern void ss_get();
        !            49: extern int ss_put();

unix.superglobalmegacorp.com

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