Module Name: src Committed By: jdolecek Date: Sun Dec 2 18:12:29 UTC 2018
Modified Files: src/sys/dev/pci: if_pcn.c Log Message: use pci_intr_establish_xname() To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/if_pcn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_pcn.c diff -u src/sys/dev/pci/if_pcn.c:1.65 src/sys/dev/pci/if_pcn.c:1.66 --- src/sys/dev/pci/if_pcn.c:1.65 Tue Jun 26 06:48:01 2018 +++ src/sys/dev/pci/if_pcn.c Sun Dec 2 18:12:29 2018 @@ -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 @@ pcn_attach(device_t parent, device_t sel 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)