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 add mca_dmamap_create() prototype for ...



details:   https://anonhg.NetBSD.org/src/rev/e642837d8482
branches:  trunk
changeset: 518061:e642837d8482
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Nov 23 22:29:16 2001 +0000

description:
add mca_dmamap_create() prototype for MI code

diffstat:

 sys/arch/i386/include/mca_machdep.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 76ff53c94fce -r e642837d8482 sys/arch/i386/include/mca_machdep.h
--- a/sys/arch/i386/include/mca_machdep.h       Fri Nov 23 22:24:36 2001 +0000
+++ b/sys/arch/i386/include/mca_machdep.h       Fri Nov 23 22:29:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mca_machdep.h,v 1.6 2001/05/02 13:16:33 jdolecek Exp $ */
+/*     $NetBSD: mca_machdep.h,v 1.7 2001/11/23 22:29:16 jdolecek Exp $ */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,6 +30,8 @@
 #ifndef _I386_MCA_MACHDEP_H_
 #define _I386_MCA_MACHDEP_H_
 
+#include <machine/bus.h>
+
 /*
  * i386-specific definitions for MCA autoconfiguration.
  */
@@ -48,7 +50,7 @@
         void * /*struct mca_dma_state*/ ic_dmastate;
 };
 
-typedef struct i386_mca_chipse *mca_chipset_tag_t;
+typedef struct i386_mca_chipset *mca_chipset_tag_t;
 typedef int mca_intr_handle_t;
 
 /*
@@ -58,6 +60,7 @@
 
 void   mca_attach_hook(struct device *, struct device *,
                struct mcabus_attach_args *);
+int    mca_dmamap_create(bus_dma_tag_t, bus_size_t, int, bus_dmamap_t *, int);
 const struct evcnt *mca_intr_evcnt(mca_chipset_tag_t, mca_intr_handle_t);
 void   *mca_intr_establish(mca_chipset_tag_t, mca_intr_handle_t,
                int, int (*)(void *), void *);



Home | Main Index | Thread Index | Old Index