Lines Matching defs:esp_softc
100 struct esp_softc { struct
104 struct hba_softc sc_hba; /* base device + hba, must be first */
106 struct sbusdev sc_sd; /* sbus device */
107 struct intrhand sc_ih; /* interrupt entry */
108 struct evcnt sc_intrcnt; /* interrupt counter */
109 struct dma_softc *sc_dc; /* pointer to corresponding dma sc */
114 volatile struct espreg *sc_esp;
115 volatile struct dmareg *sc_dma;
121 u_long sc_dmacsr;
122 u_char sc_espstat;
123 u_char sc_espstep;
124 u_char sc_espintr;
125 u_char sc_espfflags;
128 int sc_clockfreq; /* clock frequency */
129 u_char sc_sel_timeout; /* select timeout */
130 u_char sc_id; /* initiator ID (default = 7) */
131 u_char sc_esptype; /* 100, 100A, 2xx (see below) */
132 u_char sc_ccf; /* clock conversion factor */
133 u_char sc_conf1; /* value for config reg 1 */
134 u_char sc_conf2; /* value for config reg 2 */
135 u_char sc_conf3; /* value for config reg 3 */
136 struct bootpath *sc_bp; /* esp bootpath so far */
145 char sc_probing; /* used during autoconf; see below */
146 char sc_iwant; /* true => icmd needs wakeup on idle */
147 char sc_state; /* SCSI protocol state; see below */
148 char sc_sentcmd; /* set once we get cmd out */
149 char sc_dmaactive; /* true => doing dma */
151 u_char sc_sync; /* synchronous transfer stuff (?) */
153 u_char sc_stat[2]; /* status from last `status' phase */
154 u_char sc_msg[16]; /* message from device */
155 u_short sc_dmactl; /* control to load into dma csr */
156 u_long sc_dmaaddr; /* address for next xfer */
157 int sc_dmasize; /* size of current xfer */
158 int sc_resid; /* count of bytes not yet xferred */
159 int sc_targ; /* the target involved */
160 struct scsi_cdb *sc_curcdb; /* ptr to current command */
162 struct scsi_cdb sc_cdbspace; /* space for one command */