Module Name: src
Committed By: dyoung
Date: Wed Aug 19 14:35:45 UTC 2009
Modified Files:
src/sys/arch/arm/include: isa_machdep.h
Log Message:
Define isa_dmadestroy(). Declare isa_detach_hook().
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/include/isa_machdep.h
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/arm/include/isa_machdep.h
diff -u src/sys/arch/arm/include/isa_machdep.h:1.5 src/sys/arch/arm/include/isa_machdep.h:1.6
--- src/sys/arch/arm/include/isa_machdep.h:1.5 Mon Apr 28 20:23:14 2008
+++ src/sys/arch/arm/include/isa_machdep.h Wed Aug 19 14:35:45 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: isa_machdep.h,v 1.5 2008/04/28 20:23:14 martin Exp $ */
+/* $NetBSD: isa_machdep.h,v 1.6 2009/08/19 14:35:45 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -53,6 +53,7 @@
*/
void isa_attach_hook(struct device *, struct device *,
struct isabus_attach_args *);
+void isa_detach_hook(device_t);
const struct evcnt *isa_intr_evcnt(isa_chipset_tag_t ic, int irq);
void *isa_intr_establish(isa_chipset_tag_t ic, int irq, int type,
int level, int (*ih_fun)(void *), void *ih_arg);
@@ -60,6 +61,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) \