Module Name: src
Committed By: skrll
Date: Wed Sep 14 08:19:24 UTC 2016
Modified Files:
src/sys/dev/pci [netbsd-7-nhusb]: ehci_pci.c ohci_pci.c uhci_pci.c
Log Message:
Use IPL_USB for interrupt handler
To generate a diff of this commit:
cvs rdiff -u -r1.58.8.1 -r1.58.8.2 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.52.8.1 -r1.52.8.2 src/sys/dev/pci/ohci_pci.c
cvs rdiff -u -r1.57.8.1 -r1.57.8.2 src/sys/dev/pci/uhci_pci.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/dev/pci/ehci_pci.c
diff -u src/sys/dev/pci/ehci_pci.c:1.58.8.1 src/sys/dev/pci/ehci_pci.c:1.58.8.2
--- src/sys/dev/pci/ehci_pci.c:1.58.8.1 Tue Sep 6 20:33:08 2016
+++ src/sys/dev/pci/ehci_pci.c Wed Sep 14 08:19:23 2016
@@ -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 @@ ehci_pci_attach(device_t parent, device_
* 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)
Index: src/sys/dev/pci/ohci_pci.c
diff -u src/sys/dev/pci/ohci_pci.c:1.52.8.1 src/sys/dev/pci/ohci_pci.c:1.52.8.2
--- src/sys/dev/pci/ohci_pci.c:1.52.8.1 Tue Sep 6 20:33:08 2016
+++ src/sys/dev/pci/ohci_pci.c Wed Sep 14 08:19:23 2016
@@ -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 @@ ohci_pci_attach(device_t parent, device_
* 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)
Index: src/sys/dev/pci/uhci_pci.c
diff -u src/sys/dev/pci/uhci_pci.c:1.57.8.1 src/sys/dev/pci/uhci_pci.c:1.57.8.2
--- src/sys/dev/pci/uhci_pci.c:1.57.8.1 Tue Sep 6 20:33:08 2016
+++ src/sys/dev/pci/uhci_pci.c Wed Sep 14 08:19:23 2016
@@ -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 @@ uhci_pci_attach(device_t parent, device_
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)