Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Define isa_dmadestroy(). Declare isa_d...
details: https://anonhg.NetBSD.org/src/rev/e5a09d81c42d
branches: trunk
changeset: 746758:e5a09d81c42d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Aug 19 14:35:45 2009 +0000
description:
Define isa_dmadestroy(). Declare isa_detach_hook().
diffstat:
sys/arch/arm/include/isa_machdep.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 39c44067a5f0 -r e5a09d81c42d sys/arch/arm/include/isa_machdep.h
--- a/sys/arch/arm/include/isa_machdep.h Wed Aug 19 14:32:26 2009 +0000
+++ b/sys/arch/arm/include/isa_machdep.h Wed Aug 19 14:35:45 2009 +0000
@@ -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) \
Home |
Main Index |
Thread Index |
Old Index