Module Name: src
Committed By: martin
Date: Sun Mar 12 10:19:40 UTC 2017
Modified Files:
src/sys/arch/shark/isa: isa_shark_machdep.c
src/sys/arch/shark/ofw: vlpci.c
Log Message:
Implement {pci,isa}_intr_disestablish
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/shark/isa/isa_shark_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/shark/ofw/vlpci.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/shark/isa/isa_shark_machdep.c
diff -u src/sys/arch/shark/isa/isa_shark_machdep.c:1.15 src/sys/arch/shark/isa/isa_shark_machdep.c:1.16
--- src/sys/arch/shark/isa/isa_shark_machdep.c:1.15 Sat Oct 27 17:18:10 2012
+++ src/sys/arch/shark/isa/isa_shark_machdep.c Sun Mar 12 10:19:40 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: isa_shark_machdep.c,v 1.15 2012/10/27 17:18:10 chs Exp $ */
+/* $NetBSD: isa_shark_machdep.c,v 1.16 2017/03/12 10:19:40 martin Exp $ */
/*
* Copyright 1997
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_shark_machdep.c,v 1.15 2012/10/27 17:18:10 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_shark_machdep.c,v 1.16 2017/03/12 10:19:40 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -198,7 +198,8 @@ isa_intr_establish(isa_chipset_tag_t ic,
void
isa_intr_disestablish(isa_chipset_tag_t ic, void *arg)
{
- panic("isa_intr_disestablish");
+
+ intr_release(arg);
}
/* isa_init() might eventually become the ISA attach routine */
Index: src/sys/arch/shark/ofw/vlpci.c
diff -u src/sys/arch/shark/ofw/vlpci.c:1.5 src/sys/arch/shark/ofw/vlpci.c:1.6
--- src/sys/arch/shark/ofw/vlpci.c:1.5 Fri Mar 10 00:22:01 2017
+++ src/sys/arch/shark/ofw/vlpci.c Sun Mar 12 10:19:40 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: vlpci.c,v 1.5 2017/03/10 00:22:01 macallan Exp $ */
+/* $NetBSD: vlpci.c,v 1.6 2017/03/12 10:19:40 martin Exp $ */
/*
* Copyright (c) 2017 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.5 2017/03/10 00:22:01 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vlpci.c,v 1.6 2017/03/12 10:19:40 martin Exp $");
#include "opt_pci.h"
#include "pci.h"
@@ -398,7 +398,8 @@ vlpci_pc_intr_establish(void *v, pci_int
static void
vlpci_pc_intr_disestablish(void *v, void *w)
{
- panic("%s unimplemented", __func__);
+
+ return isa_intr_disestablish(NULL, v);
}
#ifdef __HAVE_PCI_CONF_HOOK