summaryrefslogtreecommitdiff
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
parent306fdb2baf859591b47afb93ab83d5aa93da47f6 (diff)
do not make up a device name for interrupts.. give it the dv_xname
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c4
-rw-r--r--sys/arch/i386/i386/acpi_machdep.c4
2 files changed, 4 insertions, 4 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);
}
diff --git a/sys/arch/i386/i386/acpi_machdep.c b/sys/arch/i386/i386/acpi_machdep.c
index 00de6b15445..ab8d9fc1083 100644
--- a/sys/arch/i386/i386/acpi_machdep.c
+++ b/sys/arch/i386/i386/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.7 2007/11/15 22:19:13 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.8 2007/11/16 02:45:56 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -171,5 +171,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);
}