diff --git a/sys/dev/pci/ahcisata_pci.c b/sys/dev/pci/ahcisata_pci.c index ec2a148f99e1..5972d2a3edcb 100644 --- a/sys/dev/pci/ahcisata_pci.c +++ b/sys/dev/pci/ahcisata_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ahcisata_pci.c,v 1.37 2016/08/23 09:47:50 msaitoh Exp $ */ +/* $NetBSD: ahcisata_pci.c,v 1.38 2016/10/13 17:11:09 jdolecek Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.37 2016/08/23 09:47:50 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.38 2016/10/13 17:11:09 jdolecek Exp $"); #include #include @@ -292,7 +292,8 @@ ahci_pci_attach(device_t parent, device_t self, void *aux) } intrstr = pci_intr_string(pa->pa_pc, intrhandle, intrbuf, sizeof(intrbuf)); - psc->sc_ih = pci_intr_establish(pa->pa_pc, intrhandle, IPL_BIO, ahci_intr, sc); + psc->sc_ih = pci_intr_establish_xname(pa->pa_pc, intrhandle, IPL_BIO, + ahci_intr, sc, device_xname(sc->sc_atac.atac_dev)); if (psc->sc_ih == NULL) { aprint_error_dev(self, "couldn't establish interrupt\n"); return; diff --git a/sys/dev/pci/bha_pci.c b/sys/dev/pci/bha_pci.c index a5df8eaf97f1..42e1b485a47b 100644 --- a/sys/dev/pci/bha_pci.c +++ b/sys/dev/pci/bha_pci.c @@ -1,4 +1,4 @@ -/* $NetBSD: bha_pci.c,v 1.40 2014/10/18 08:33:28 snj Exp $ */ +/* $NetBSD: bha_pci.c,v 1.41 2016/10/13 17:11:09 jdolecek Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bha_pci.c,v 1.40 2014/10/18 08:33:28 snj Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bha_pci.c,v 1.41 2016/10/13 17:11:09 jdolecek Exp $"); #include #include @@ -133,7 +133,8 @@ bha_pci_attach(device_t parent, device_t self, void *aux) return; } intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf)); - sc->sc_ih = pci_intr_establish(pc, ih, IPL_BIO, bha_intr, sc); + sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_BIO, bha_intr, sc, + device_xname(sc->sc_dev)); if (sc->sc_ih == NULL) { aprint_error_dev(sc->sc_dev, "couldn't establish interrupt"); if (intrstr != NULL) diff --git a/sys/dev/pci/pciide_common.c b/sys/dev/pci/pciide_common.c index ebb84ef39c04..f6098219cee6 100644 --- a/sys/dev/pci/pciide_common.c +++ b/sys/dev/pci/pciide_common.c @@ -1,4 +1,4 @@ -/* $NetBSD: pciide_common.c,v 1.61 2016/07/07 06:55:41 msaitoh Exp $ */ +/* $NetBSD: pciide_common.c,v 1.62 2016/10/13 17:11:09 jdolecek Exp $ */ /* @@ -70,7 +70,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.61 2016/07/07 06:55:41 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pciide_common.c,v 1.62 2016/10/13 17:11:09 jdolecek Exp $"); #include #include @@ -354,8 +354,9 @@ pciide_mapregs_native(const struct pci_attach_args *pa, goto bad; } intrstr = pci_intr_string(pa->pa_pc, intrhandle, intrbuf, sizeof(intrbuf)); - sc->sc_pci_ih = pci_intr_establish(pa->pa_pc, - intrhandle, IPL_BIO, pci_intr, sc); + sc->sc_pci_ih = pci_intr_establish_xname(pa->pa_pc, + intrhandle, IPL_BIO, pci_intr, sc, + device_xname(sc->sc_wdcdev.sc_atac.atac_dev)); if (sc->sc_pci_ih != NULL) { aprint_normal_dev(sc->sc_wdcdev.sc_atac.atac_dev, "using %s for native-PCI interrupt\n", diff --git a/sys/dev/pci/piixpm.c b/sys/dev/pci/piixpm.c index 80684f4eda85..45969be1d3a5 100644 --- a/sys/dev/pci/piixpm.c +++ b/sys/dev/pci/piixpm.c @@ -1,4 +1,4 @@ -/* $NetBSD: piixpm.c,v 1.50 2016/07/18 21:09:05 pgoyette Exp $ */ +/* $NetBSD: piixpm.c,v 1.51 2016/10/13 17:11:09 jdolecek Exp $ */ /* $OpenBSD: piixpm.c,v 1.20 2006/02/27 08:25:02 grange Exp $ */ /* @@ -22,7 +22,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.50 2016/07/18 21:09:05 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.51 2016/10/13 17:11:09 jdolecek Exp $"); #include #include @@ -256,8 +256,8 @@ nopowermanagement: if (pci_intr_map(pa, &ih) == 0) { intrstr = pci_intr_string(pa->pa_pc, ih, intrbuf, sizeof(intrbuf)); - sc->sc_smb_ih = pci_intr_establish(pa->pa_pc, ih, - IPL_BIO, piixpm_intr, sc); + sc->sc_smb_ih = pci_intr_establish_xname(pa->pa_pc, ih, + IPL_BIO, piixpm_intr, sc, device_xname(sc->sc_dev)); if (sc->sc_smb_ih != NULL) { aprint_normal("interrupting at %s", intrstr); sc->sc_poll = 0;