Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/shark Implement {pci, isa}_intr_disestablish
details: https://anonhg.NetBSD.org/src/rev/0573af38066a
branches: trunk
changeset: 352052:0573af38066a
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 12 10:19:40 2017 +0000
description:
Implement {pci,isa}_intr_disestablish
diffstat:
sys/arch/shark/isa/isa_shark_machdep.c | 7 ++++---
sys/arch/shark/ofw/vlpci.c | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r d75deb2697e8 -r 0573af38066a sys/arch/shark/isa/isa_shark_machdep.c
--- a/sys/arch/shark/isa/isa_shark_machdep.c Sun Mar 12 10:18:07 2017 +0000
+++ b/sys/arch/shark/isa/isa_shark_machdep.c Sun Mar 12 10:19:40 2017 +0000
@@ -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 @@
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 */
diff -r d75deb2697e8 -r 0573af38066a sys/arch/shark/ofw/vlpci.c
--- a/sys/arch/shark/ofw/vlpci.c Sun Mar 12 10:18:07 2017 +0000
+++ b/sys/arch/shark/ofw/vlpci.c Sun Mar 12 10:19:40 2017 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index