Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/tc Add the missing piece of previous mod.



details:   https://anonhg.NetBSD.org/src/rev/634ed662d56e
branches:  trunk
changeset: 481858:634ed662d56e
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Tue Feb 08 04:35:03 2000 +0000

description:
Add the missing piece of previous mod.

diffstat:

 sys/dev/tc/ascvar.h |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 554f223d4002 -r 634ed662d56e sys/dev/tc/ascvar.h
--- a/sys/dev/tc/ascvar.h       Tue Feb 08 04:13:51 2000 +0000
+++ b/sys/dev/tc/ascvar.h       Tue Feb 08 04:35:03 2000 +0000
@@ -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 @@
 
 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 @@
        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;
 



Home | Main Index | Thread Index | Old Index