Home | History | Annotate | Download | only in podulebus

Lines Matching refs:sc_softc

137 	sc->sc_softc.sc_dev	= self;
138 sc->sc_softc.sc_fas = (sfas_regmap_p)rp;
139 sc->sc_softc.sc_spec = &sc->sc_specific;
141 sc->sc_softc.sc_led = csc_led;
143 sc->sc_softc.sc_setup_dma = csc_setup_dma;
144 sc->sc_softc.sc_build_dma_chain = csc_build_dma_chain;
145 sc->sc_softc.sc_need_bump = csc_need_bump;
147 sc->sc_softc.sc_clock_freq = 8; /* Cumana runs at 8MHz */
148 sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */
149 sc->sc_softc.sc_config_flags = SFAS_NO_DMA /*| SFAS_NF_DEBUG*/;
150 sc->sc_softc.sc_host_id = 7; /* Should check the jumpers */
152 sc->sc_softc.sc_bump_sz = PAGE_SIZE;
153 sc->sc_softc.sc_bump_pa = 0x0;
157 sc->sc_softc.sc_adapter.adapt_dev = self;
158 sc->sc_softc.sc_adapter.adapt_nchannels = 1;
159 sc->sc_softc.sc_adapter.adapt_openings = 7;
160 sc->sc_softc.sc_adapter.adapt_max_periph = 1;
161 sc->sc_softc.sc_adapter.adapt_ioctl = NULL;
162 sc->sc_softc.sc_adapter.adapt_minphys = sfas_minphys;
163 sc->sc_softc.sc_adapter.adapt_request = sfas_scsi_request;
165 sc->sc_softc.sc_channel.chan_adapter = &sc->sc_softc.sc_adapter;
166 sc->sc_softc.sc_channel.chan_bustype = &scsi_bustype;
167 sc->sc_softc.sc_channel.chan_channel = 0;
168 sc->sc_softc.sc_channel.chan_ntargets = 8;
169 sc->sc_softc.sc_channel.chan_nluns = 8;
170 sc->sc_softc.sc_channel.chan_id = sc->sc_softc.sc_host_id;
174 BOOTOPT_TYPE_INT, &sc->sc_softc.sc_channel.chan_id);
176 printf(": host=%d", sc->sc_softc.sc_channel.chan_id);
187 evcnt_attach_dynamic(&sc->sc_softc.sc_intrcnt, EVCNT_TYPE_INTR, NULL,
189 sc->sc_softc.sc_ih = podulebus_irq_establish(pa->pa_ih, IPL_BIO,
190 csc_intr, &sc->sc_softc, &sc->sc_softc.sc_intrcnt);
191 if (sc->sc_softc.sc_ih == NULL)
195 sc->sc_softc.sc_adapter.adapt_flags |= SCSIPI_ADAPT_POLL_ONLY;
200 config_found(self, &sc->sc_softc.sc_channel, scsiprint, CFARGS_NONE);