diff options
author | 2007-11-16 02:45:56 +0000 | |
---|---|---|
committer | 2007-11-16 02:45:56 +0000 | |
commit | fc9d7fffea59967e260c7ab09a1f2a0cf16b4789 (patch) | |
tree | 149e090ea815ca66d001d1a1e66a075b84ed0d36 /sys | |
parent | accept ATA ioctls so tools like atactl work on disks behind the atascsi (diff) | |
download | wireguard-openbsd-fc9d7fffea59967e260c7ab09a1f2a0cf16b4789.tar.xz wireguard-openbsd-fc9d7fffea59967e260c7ab09a1f2a0cf16b4789.zip |
do not make up a device name for interrupts.. give it the dv_xname
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/acpi_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/acpi_machdep.c | 4 |
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); } |