summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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);
}