Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi use isa_intr_establish_xname() so this passes t...
details: https://anonhg.NetBSD.org/src/rev/114555abf4de
branches: trunk
changeset: 323646:114555abf4de
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Jun 24 12:25:33 2018 +0000
description:
use isa_intr_establish_xname() so this passes the device name
diffstat:
sys/dev/acpi/lpt_acpi.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r f8dbe4f12190 -r 114555abf4de sys/dev/acpi/lpt_acpi.c
--- a/sys/dev/acpi/lpt_acpi.c Sun Jun 24 12:05:40 2018 +0000
+++ b/sys/dev/acpi/lpt_acpi.c Sun Jun 24 12:25:33 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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_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);
Home |
Main Index |
Thread Index |
Old Index