Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc Define genppc_isa_detach_hook() and isa_dma...



details:   https://anonhg.NetBSD.org/src/rev/76e946c312da
branches:  trunk
changeset: 746760:76e946c312da
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Aug 19 14:44:48 2009 +0000

description:
Define genppc_isa_detach_hook() and isa_dmadestroy().

diffstat:

 sys/arch/powerpc/include/isa_machdep.h    |   4 +++-
 sys/arch/powerpc/isa/isa_machdep_common.c |  11 +++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 32e4cfc91219 -r 76e946c312da sys/arch/powerpc/include/isa_machdep.h
--- a/sys/arch/powerpc/include/isa_machdep.h    Wed Aug 19 14:37:24 2009 +0000
+++ b/sys/arch/powerpc/include/isa_machdep.h    Wed Aug 19 14:44:48 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.h,v 1.4 2008/04/28 20:23:32 martin Exp $   */
+/*     $NetBSD: isa_machdep.h,v 1.5 2009/08/19 14:44:48 dyoung Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -110,6 +110,8 @@
 
 #define        isa_dmainit(ic, bst, dmat, d)                                   \
        _isa_dmainit(&(ic)->ic_dmastate, (bst), (dmat), (d))
+#define        isa_dmadestroy(ic)                                              \
+       _isa_dmadestroy(&(ic)->ic_dmastate)
 #define        isa_dmacascade(ic, c)                                           \
        _isa_dmacascade(&(ic)->ic_dmastate, (c))
 #define        isa_dmamaxsize(ic, c)                                           \
diff -r 32e4cfc91219 -r 76e946c312da sys/arch/powerpc/isa/isa_machdep_common.c
--- a/sys/arch/powerpc/isa/isa_machdep_common.c Wed Aug 19 14:37:24 2009 +0000
+++ b/sys/arch/powerpc/isa/isa_machdep_common.c Wed Aug 19 14:44:48 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep_common.c,v 1.3 2008/04/28 20:23:32 martin Exp $    */
+/*     $NetBSD: isa_machdep_common.c,v 1.4 2009/08/19 14:44:48 dyoung Exp $    */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep_common.c,v 1.3 2008/04/28 20:23:32 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep_common.c,v 1.4 2009/08/19 14:44:48 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -82,3 +82,10 @@
 
        /* Nothing to do. */
 }
+
+void
+genppc_isa_detach_hook(device_t self)
+{
+
+       /* Nothing to do. */
+}



Home | Main Index | Thread Index | Old Index