diff options
| author | nisimura <nisimura@NetBSD.org> | 2000-02-08 04:35:03 +0000 |
|---|---|---|
| committer | nisimura <nisimura@NetBSD.org> | 2000-02-08 04:35:03 +0000 |
| commit | 42e4e9fd0cb70b2cbbc72b3487cfe768cee5f215 (patch) | |
| tree | 956bac808f5a421132cf1f5c36313f1023a3f521 /sys | |
| parent | 554df2b99410213373b4b218fb68a6bef9610d3e (diff) | |
Add the missing piece of previous mod.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/tc/ascvar.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/tc/ascvar.h b/sys/dev/tc/ascvar.h index b2333794892..c1abc88eb87 100644 --- a/sys/dev/tc/ascvar.h +++ b/sys/dev/tc/ascvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ascvar.h,v 1.5 1998/11/19 21:54:35 thorpej Exp $ */ +/* $NetBSD: ascvar.h,v 1.6 2000/02/08 04:35:03 nisimura Exp $ */ /* @@ -42,6 +42,13 @@ typedef struct scsi_state { struct asc_softc { struct device sc_dev; /* us as a device */ + + bus_space_tag_t sc_bst; + bus_space_handle_t sc_bsh; + bus_space_handle_t sc_scsi_bsh; + bus_dma_tag_t sc_dmat; + bus_dmamap_t sc_dmamap; + asc_regmap_t *regs; /* chip address */ volatile int *dmar; /* DMA address register address */ int sc_id; /* SCSI ID of this interface */ @@ -66,10 +73,6 @@ struct asc_softc { int ccf; /* CCF, whatever that really is? */ int timeout_250; /* 250ms timeout */ int tb_ticks; /* 4ns. ticks/tb channel ticks */ -#ifdef USE_NEW_SCSI - struct scsipi_link sc_link; /* scsipi link struct */ - struct scsipi_adapter sc_adapter; -#endif }; typedef struct asc_softc *asc_softc_t; |
