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/f31281eb58cf
branches: trunk
changeset: 994567:f31281eb58cf
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Tue Nov 13 20:12:45 2018 +0000
description:
use pci_intr_establish_xname()
diffstat:
sys/dev/pci/if_re_pci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 379114547879 -r f31281eb58cf sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c Tue Nov 13 19:39:04 2018 +0000
+++ b/sys/dev/pci/if_re_pci.c Tue Nov 13 20:12:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 jakllsch Exp $ */
+/* $NetBSD: if_re_pci.c,v 1.49 2018/11/13 20:12:45 jdolecek Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.48 2017/05/18 18:33:48 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.49 2018/11/13 20:12:45 jdolecek Exp $");
#include <sys/types.h>
@@ -262,8 +262,8 @@
}
intrstr = pci_intr_string(pc, psc->sc_pihp[0], intrbuf,
sizeof(intrbuf));
- psc->sc_ih = pci_intr_establish(pc, psc->sc_pihp[0], IPL_NET,
- re_intr, sc);
+ psc->sc_ih = pci_intr_establish_xname(pc, psc->sc_pihp[0], IPL_NET,
+ re_intr, sc, device_xname(sc->sc_dev));
if (psc->sc_ih == NULL) {
aprint_error_dev(self, "couldn't establish interrupt");
if (intrstr != NULL)
Home |
Main Index |
Thread Index |
Old Index