Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci switch to pci_intr_establish_xname()
details: https://anonhg.NetBSD.org/src/rev/fc61ef8eebc9
branches: trunk
changeset: 824863:fc61ef8eebc9
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jun 21 22:48:05 2017 +0000
description:
switch to pci_intr_establish_xname()
diffstat:
sys/dev/pci/mvsata_pci.c | 8 ++++----
sys/dev/pci/siisata_pci.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r 5edd4977e1a5 -r fc61ef8eebc9 sys/dev/pci/mvsata_pci.c
--- a/sys/dev/pci/mvsata_pci.c Wed Jun 21 21:55:07 2017 +0000
+++ b/sys/dev/pci/mvsata_pci.c Wed Jun 21 22:48:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsata_pci.c,v 1.8 2014/03/29 19:28:25 christos Exp $ */
+/* $NetBSD: mvsata_pci.c,v 1.9 2017/06/21 22:48:05 jdolecek Exp $ */
/*
* Copyright (c) 2008 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.8 2014/03/29 19:28:25 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata_pci.c,v 1.9 2017/06/21 22:48:05 jdolecek Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -194,8 +194,8 @@
return;
}
intrstr = pci_intr_string(psc->psc_pc, intrhandle, intrbuf, sizeof(intrbuf));
- psc->psc_ih = pci_intr_establish(psc->psc_pc, intrhandle, IPL_BIO,
- mvsata_pci_intr, sc);
+ psc->psc_ih = pci_intr_establish_xname(psc->psc_pc, intrhandle, IPL_BIO,
+ mvsata_pci_intr, sc, device_xname(self));
if (psc->psc_ih == NULL) {
aprint_error_dev(self, "couldn't establish interrupt\n");
return;
diff -r 5edd4977e1a5 -r fc61ef8eebc9 sys/dev/pci/siisata_pci.c
--- a/sys/dev/pci/siisata_pci.c Wed Jun 21 21:55:07 2017 +0000
+++ b/sys/dev/pci/siisata_pci.c Wed Jun 21 22:48:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata_pci.c,v 1.15 2017/06/17 20:36:46 jdolecek Exp $ */
+/* $NetBSD: siisata_pci.c,v 1.16 2017/06/21 22:48:05 jdolecek Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -51,7 +51,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata_pci.c,v 1.15 2017/06/17 20:36:46 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata_pci.c,v 1.16 2017/06/21 22:48:05 jdolecek Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -217,8 +217,8 @@
}
intrstr = pci_intr_string(pa->pa_pc, intrhandle, intrbuf,
sizeof(intrbuf));
- psc->sc_ih = pci_intr_establish(pa->pa_pc, intrhandle,
- IPL_BIO, siisata_intr, sc);
+ psc->sc_ih = pci_intr_establish_xname(pa->pa_pc, intrhandle,
+ IPL_BIO, siisata_intr, sc, device_xname(self));
if (psc->sc_ih == NULL) {
bus_space_unmap(sc->sc_grt, sc->sc_grh, grsize);
bus_space_unmap(sc->sc_prt, sc->sc_prh, prsize);
Home |
Main Index |
Thread Index |
Old Index