Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci use pci_intr_establish_xname()
details: https://anonhg.NetBSD.org/src/rev/c27972f4cbb4
branches: trunk
changeset: 446367:c27972f4cbb4
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Dec 02 18:12:29 2018 +0000
description:
use pci_intr_establish_xname()
diffstat:
sys/dev/pci/if_pcn.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b2a0208266d7 -r c27972f4cbb4 sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Sun Dec 02 17:02:04 2018 +0000
+++ b/sys/dev/pci/if_pcn.c Sun Dec 02 18:12:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.65 2018/06/26 06:48:01 msaitoh Exp $ */
+/* $NetBSD: if_pcn.c,v 1.66 2018/12/02 18:12:29 jdolecek Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.65 2018/06/26 06:48:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.66 2018/12/02 18:12:29 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -684,7 +684,8 @@
return;
}
intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, pcn_intr, sc);
+ sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, pcn_intr, sc,
+ device_xname(self));
if (sc->sc_ih == NULL) {
aprint_error_dev(self, "unable to establish interrupt");
if (intrstr != NULL)
Home |
Main Index |
Thread Index |
Old Index