Module Name: src Committed By: dyoung Date: Wed Aug 19 14:44:48 UTC 2009
Modified Files: src/sys/arch/powerpc/include: isa_machdep.h src/sys/arch/powerpc/isa: isa_machdep_common.c Log Message: Define genppc_isa_detach_hook() and isa_dmadestroy(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/include/isa_machdep.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/isa/isa_machdep_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/include/isa_machdep.h diff -u src/sys/arch/powerpc/include/isa_machdep.h:1.4 src/sys/arch/powerpc/include/isa_machdep.h:1.5 --- src/sys/arch/powerpc/include/isa_machdep.h:1.4 Mon Apr 28 20:23:32 2008 +++ src/sys/arch/powerpc/include/isa_machdep.h Wed Aug 19 14:44:48 2009 @@ -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) \ Index: src/sys/arch/powerpc/isa/isa_machdep_common.c diff -u src/sys/arch/powerpc/isa/isa_machdep_common.c:1.3 src/sys/arch/powerpc/isa/isa_machdep_common.c:1.4 --- src/sys/arch/powerpc/isa/isa_machdep_common.c:1.3 Mon Apr 28 20:23:32 2008 +++ src/sys/arch/powerpc/isa/isa_machdep_common.c Wed Aug 19 14:44:48 2009 @@ -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. */ +}