Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Make isa_machdep.c compile again.



details:   https://anonhg.NetBSD.org/src/rev/46d371cce1d2
branches:  trunk
changeset: 499259:46d371cce1d2
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Nov 15 02:00:31 2000 +0000

description:
Make isa_machdep.c compile again.

diffstat:

 sys/arch/i386/include/isa_machdep.h |  38 +------------------------------------
 1 files changed, 1 insertions(+), 37 deletions(-)

diffs (52 lines):

diff -r d93658ffcf4b -r 46d371cce1d2 sys/arch/i386/include/isa_machdep.h
--- a/sys/arch/i386/include/isa_machdep.h       Wed Nov 15 01:59:35 2000 +0000
+++ b/sys/arch/i386/include/isa_machdep.h       Wed Nov 15 02:00:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.h,v 1.16 2000/06/04 19:14:44 cgd Exp $     */
+/*     $NetBSD: isa_machdep.h,v 1.17 2000/11/15 02:00:31 enami Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -171,42 +171,6 @@
 extern struct i386_bus_dma_tag isa_bus_dma_tag;
 
 /*
- * Cookie used by ISA dma.  A pointer to one of these it stashed in
- * the DMA map.
- */
-struct i386_isa_dma_cookie {
-       int     id_flags;               /* flags; see below */
-
-       /*
-        * Information about the original buffer used during
-        * DMA map syncs.  Note that origibuflen is only used
-        * for ID_BUFTYPE_LINEAR.
-        */
-       void    *id_origbuf;            /* pointer to orig buffer if
-                                          bouncing */
-       bus_size_t id_origbuflen;       /* ...and size */
-       int     id_buftype;             /* type of buffer */
-
-       void    *id_bouncebuf;          /* pointer to the bounce buffer */
-       bus_size_t id_bouncebuflen;     /* ...and size */
-       int     id_nbouncesegs;         /* number of valid bounce segs */
-       bus_dma_segment_t id_bouncesegs[0]; /* array of bounce buffer
-                                              physical memory segments */
-};
-
-/* id_flags */
-#define        ID_MIGHT_NEED_BOUNCE    0x01    /* map could need bounce buffers */
-#define        ID_HAS_BOUNCE           0x02    /* map currently has bounce buffers */
-#define        ID_IS_BOUNCING          0x04    /* map is bouncing current xfer */
-
-/* id_buftype */
-#define        ID_BUFTYPE_INVALID      0
-#define        ID_BUFTYPE_LINEAR       1
-#define        ID_BUFTYPE_MBUF         2
-#define        ID_BUFTYPE_UIO          3
-#define        ID_BUFTYPE_RAW          4
-
-/*
  * XXX Various seemingly PC-specific constants, some of which may be
  * unnecessary anyway.
  */



Home | Main Index | Thread Index | Old Index