summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-16 02:45:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-16 02:45:57 +0000
commit37273fd6dd5d8409cf646009075593ac729095b1 (patch)
treea3046bc89daf136cdc1491f2d4a09ddf84f93837 /sys/arch/amd64
parent306fdb2baf859591b47afb93ab83d5aa93da47f6 (diff)
do not make up a device name for interrupts.. give it the dv_xname
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index e72a6821107..f061a7296d7 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.8 2007/11/15 22:19:14 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.9 2007/11/16 02:45:56 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -153,5 +153,5 @@ void
acpi_attach_machdep(struct acpi_softc *sc)
{
sc->sc_interrupt = isa_intr_establish(NULL, sc->sc_fadt->sci_int,
- IST_LEVEL, IPL_TTY, acpi_interrupt, sc, "acpi");
+ IST_LEVEL, IPL_TTY, acpi_interrupt, sc, sc->sc_dev.dv_xname);
}