Module Name: src Committed By: dyoung Date: Wed Aug 19 15:16:10 UTC 2009
Modified Files: src/sys/arch/arc/isa: isabus.c Log Message: Define, and hook into the isa_chipset_tag_t, isabr_detach_hook(). To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/arc/isa/isabus.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/arc/isa/isabus.c diff -u src/sys/arch/arc/isa/isabus.c:1.44 src/sys/arch/arc/isa/isabus.c:1.45 --- src/sys/arch/arc/isa/isabus.c:1.44 Sat Jul 5 08:46:25 2008 +++ src/sys/arch/arc/isa/isabus.c Wed Aug 19 15:16:09 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: isabus.c,v 1.44 2008/07/05 08:46:25 tsutsui Exp $ */ +/* $NetBSD: isabus.c,v 1.45 2009/08/19 15:16:09 dyoung Exp $ */ /* $OpenBSD: isabus.c,v 1.15 1998/03/16 09:38:46 pefo Exp $ */ /* NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp */ @@ -120,7 +120,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: isabus.c,v 1.44 2008/07/05 08:46:25 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isabus.c,v 1.45 2009/08/19 15:16:09 dyoung Exp $"); #include <sys/param.h> #include <sys/proc.h> @@ -166,6 +166,7 @@ static void isabr_attach_hook(device_t , device_t, struct isabus_attach_args *); +static void isabr_detach_hook(isa_chipset_tag_t, device_t); static const struct evcnt *isabr_intr_evcnt(isa_chipset_tag_t, int); static void *isabr_intr_establish(isa_chipset_tag_t, int, int, int, int (*)(void *), void *); @@ -193,6 +194,7 @@ isabr_initicu(); sc->arc_isa_cs.ic_attach_hook = isabr_attach_hook; + sc->arc_isa_cs.ic_detach_hook = isabr_detach_hook; sc->arc_isa_cs.ic_intr_evcnt = isabr_intr_evcnt; sc->arc_isa_cs.ic_intr_establish = isabr_intr_establish; sc->arc_isa_cs.ic_intr_disestablish = isabr_intr_disestablish; @@ -314,6 +316,13 @@ /* Nothing to do. */ } +static void +isabr_detach_hook(isa_chipset_tag_t ic, device_t self) +{ + + /* Nothing to do. */ +} + static const struct evcnt * isabr_intr_evcnt(isa_chipset_tag_t ic, int irq) {