Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-nhusb]: src/sys/dev/pci Use IPL_USB for interrupt handler
details: https://anonhg.NetBSD.org/src/rev/c8669b7af456
branches: netbsd-7-nhusb
changeset: 801031:c8669b7af456
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 14 08:19:23 2016 +0000
description:
Use IPL_USB for interrupt handler
diffstat:
sys/dev/pci/ehci_pci.c | 6 +++---
sys/dev/pci/ohci_pci.c | 6 +++---
sys/dev/pci/uhci_pci.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 51fa1621a975 -r c8669b7af456 sys/dev/pci/ehci_pci.c
--- a/sys/dev/pci/ehci_pci.c Sat Sep 10 06:46:09 2016 +0000
+++ b/sys/dev/pci/ehci_pci.c Wed Sep 14 08:19:23 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_pci.c,v 1.58.8.1 2016/09/06 20:33:08 skrll Exp $ */
+/* $NetBSD: ehci_pci.c,v 1.58.8.2 2016/09/14 08:19:23 skrll Exp $ */
/*
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.58.8.1 2016/09/06 20:33:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.58.8.2 2016/09/14 08:19:23 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -178,7 +178,7 @@
* Allocate IRQ
*/
intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_SCHED, ehci_intr, sc);
+ sc->sc_ih = pci_intr_establish(pc, ih, IPL_USB, ehci_intr, sc);
if (sc->sc_ih == NULL) {
aprint_error_dev(self, "couldn't establish interrupt");
if (intrstr != NULL)
diff -r 51fa1621a975 -r c8669b7af456 sys/dev/pci/ohci_pci.c
--- a/sys/dev/pci/ohci_pci.c Sat Sep 10 06:46:09 2016 +0000
+++ b/sys/dev/pci/ohci_pci.c Wed Sep 14 08:19:23 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci_pci.c,v 1.52.8.1 2016/09/06 20:33:08 skrll Exp $ */
+/* $NetBSD: ohci_pci.c,v 1.52.8.2 2016/09/14 08:19:23 skrll Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.52.8.1 2016/09/06 20:33:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_pci.c,v 1.52.8.2 2016/09/14 08:19:23 skrll Exp $");
#include "ehci.h"
@@ -143,7 +143,7 @@
* Allocate IRQ
*/
intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_SCHED, ohci_intr, sc);
+ sc->sc_ih = pci_intr_establish(pc, ih, IPL_USB, ohci_intr, sc);
if (sc->sc_ih == NULL) {
aprint_error_dev(self, "couldn't establish interrupt");
if (intrstr != NULL)
diff -r 51fa1621a975 -r c8669b7af456 sys/dev/pci/uhci_pci.c
--- a/sys/dev/pci/uhci_pci.c Sat Sep 10 06:46:09 2016 +0000
+++ b/sys/dev/pci/uhci_pci.c Wed Sep 14 08:19:23 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci_pci.c,v 1.57.8.1 2016/09/06 20:33:08 skrll Exp $ */
+/* $NetBSD: uhci_pci.c,v 1.57.8.2 2016/09/14 08:19:23 skrll Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.57.8.1 2016/09/06 20:33:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.57.8.2 2016/09/14 08:19:23 skrll Exp $");
#include "ehci.h"
@@ -133,7 +133,7 @@
return;
}
intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_SCHED, uhci_intr, sc);
+ sc->sc_ih = pci_intr_establish(pc, ih, IPL_USB, uhci_intr, sc);
if (sc->sc_ih == NULL) {
aprint_error_dev(self, "couldn't establish interrupt");
if (intrstr != NULL)
Home |
Main Index |
Thread Index |
Old Index