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/eb78ba033064
branches: trunk
changeset: 433796:eb78ba033064
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Oct 05 05:37:49 2018 +0000
description:
Use pci_intr_establish_xname().
diffstat:
sys/dev/pci/hifn7751.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 5b4d22a2ba22 -r eb78ba033064 sys/dev/pci/hifn7751.c
--- a/sys/dev/pci/hifn7751.c Fri Oct 05 05:09:31 2018 +0000
+++ b/sys/dev/pci/hifn7751.c Fri Oct 05 05:37:49 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hifn7751.c,v 1.61 2015/05/14 07:27:14 maxv Exp $ */
+/* $NetBSD: hifn7751.c,v 1.62 2018/10/05 05:37:49 msaitoh Exp $ */
/* $FreeBSD: hifn7751.c,v 1.5.2.7 2003/10/08 23:52:00 sam Exp $ */
/* $OpenBSD: hifn7751.c,v 1.140 2003/08/01 17:55:54 deraadt Exp $ */
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.61 2015/05/14 07:27:14 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.62 2018/10/05 05:37:49 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -372,7 +372,8 @@
sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, hifn_intr, sc,
device_xname(self));
#else
- sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET, hifn_intr, sc);
+ sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, hifn_intr, sc,
+ device_xname(self));
#endif
if (sc->sc_ih == NULL) {
aprint_error_dev(sc->sc_dv, "couldn't establish interrupt\n");
Home |
Main Index |
Thread Index |
Old Index