[BACK]Return to ascvar.h CVS log [TXT][DIR] Up to [local] / sys / dev / tc

Annotation of sys/dev/tc/ascvar.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: ascvar.h,v 1.9 2002/05/02 22:56:06 miod Exp $ */
                      2: /*     $NetBSD: ascvar.h,v 1.7 2000/10/31 15:16:26 simonb Exp $        */
                      3:
                      4: /*
                      5:  * State kept for each active SCSI host interface (53C94).
                      6:  */
                      7:
                      8: struct asc_softc {
                      9:        struct ncr53c9x_softc sc_ncr53c9x;      /* glue to MI code */
                     10:        bus_space_tag_t sc_bst;                 /* bus space tag */
                     11:        bus_space_handle_t sc_bsh;              /* ASC register handle */
                     12:        bus_dma_tag_t sc_dmat;                  /* bus dma tag */
                     13:        bus_dmamap_t sc_dmamap;                 /* bus dmamap */
                     14:        caddr_t *sc_dmaaddr;
                     15:        size_t *sc_dmalen;
                     16:        size_t sc_dmasize;
                     17:        unsigned sc_flags;
                     18: #define ASC_ISPULLUP           0x01
                     19: #define ASC_DMAACTIVE          0x02
                     20: #define ASC_MAPLOADED          0x04
                     21: };
                     22:
                     23: u_char asc_read_reg(struct ncr53c9x_softc *, int);
                     24: void   asc_write_reg(struct ncr53c9x_softc *, int, u_char);

CVSweb