Module Name: src Committed By: jdolecek Date: Sun Jun 24 12:25:33 UTC 2018
Modified Files: src/sys/dev/acpi: lpt_acpi.c Log Message: use isa_intr_establish_xname() so this passes the device name To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/lpt_acpi.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/acpi/lpt_acpi.c diff -u src/sys/dev/acpi/lpt_acpi.c:1.19 src/sys/dev/acpi/lpt_acpi.c:1.20 --- src/sys/dev/acpi/lpt_acpi.c:1.19 Fri Mar 5 14:00:17 2010 +++ src/sys/dev/acpi/lpt_acpi.c Sun Jun 24 12:25:33 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: lpt_acpi.c,v 1.19 2010/03/05 14:00:17 jruoho Exp $ */ +/* $NetBSD: lpt_acpi.c,v 1.20 2018/06/24 12:25:33 jdolecek Exp $ */ /* * Copyright (c) 2002 Jared D. McNeill <jmcne...@invisible.ca> @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lpt_acpi.c,v 1.19 2010/03/05 14:00:17 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lpt_acpi.c,v 1.20 2018/06/24 12:25:33 jdolecek Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -121,9 +121,9 @@ lpt_acpi_attach(device_t parent, device_ lpt_attach_subr(sc); - sc->sc_ih = isa_intr_establish(aa->aa_ic, irq->ar_irq, + sc->sc_ih = isa_intr_establish_xname(aa->aa_ic, irq->ar_irq, (irq->ar_type == ACPI_EDGE_SENSITIVE) ? IST_EDGE : IST_LEVEL, - IPL_TTY, lptintr, sc); + IPL_TTY, lptintr, sc, device_xname(self)); out: acpi_resource_cleanup(&res);