From 55784dc0a6a2463b2ce8f2b246711d424b8e213a Mon Sep 17 00:00:00 2001 From: nonaka Date: Sun, 8 Jan 2017 06:49:10 +0000 Subject: [PATCH] use pci_intr_establish_xname(9). --- sys/dev/pci/if_iwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index e82241ba74e7..3cf47d3c6629 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwm.c,v 1.48 2017/01/08 06:48:06 nonaka Exp $ */ +/* $NetBSD: if_iwm.c,v 1.49 2017/01/08 06:49:10 nonaka Exp $ */ /* OpenBSD: if_iwm.c,v 1.147 2016/11/17 14:12:33 stsp Exp */ #define IEEE80211_NO_HT /* @@ -107,7 +107,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.48 2017/01/08 06:48:06 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.49 2017/01/08 06:49:10 nonaka Exp $"); #include #include @@ -7328,8 +7328,8 @@ iwm_attach(device_t parent, device_t self, void *aux) } intrstr = pci_intr_string(sc->sc_pct, sc->sc_pihp[0], intrbuf, sizeof(intrbuf)); - sc->sc_ih = pci_intr_establish(sc->sc_pct, sc->sc_pihp[0], IPL_NET, - iwm_intr, sc); + sc->sc_ih = pci_intr_establish_xname(sc->sc_pct, sc->sc_pihp[0], + IPL_NET, iwm_intr, sc, device_xname(self)); if (sc->sc_ih == NULL) { aprint_error_dev(self, "can't establish interrupt"); if (intrstr != NULL)