diff options
author | msmith <msmith@FreeBSD.org> | 2001-11-28 04:36:29 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-11-28 04:36:29 +0000 |
commit | adb7d36871c47f61c135d75eb203d85686d8bb13 (patch) | |
tree | c757fe8dd108c3e249b3148f1771a3a8ae68595d /sys/dev/acpica/Osd/OsdInterrupt.c | |
parent | 02c92eb332c4d56cd990b07b9cecc1ada735ed68 (diff) | |
download | FreeBSD-src-adb7d36871c47f61c135d75eb203d85686d8bb13.zip FreeBSD-src-adb7d36871c47f61c135d75eb203d85686d8bb13.tar.gz |
Synch with minor changes in the ACPI CA 20011120 snapshot.
Diffstat (limited to 'sys/dev/acpica/Osd/OsdInterrupt.c')
-rw-r--r-- | sys/dev/acpica/Osd/OsdInterrupt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/Osd/OsdInterrupt.c b/sys/dev/acpica/Osd/OsdInterrupt.c index da2e649..bccf946 100644 --- a/sys/dev/acpica/Osd/OsdInterrupt.c +++ b/sys/dev/acpica/Osd/OsdInterrupt.c @@ -78,19 +78,19 @@ AcpiOsInstallInterruptHandler(UINT32 InterruptNumber, OSD_HANDLER ServiceRoutine */ if (sc->acpi_irq != NULL) { device_printf(sc->acpi_dev, "attempt to register more than one interrupt handler\n"); - return_ACPI_STATUS(AE_EXIST); + return_ACPI_STATUS(AE_ALREADY_EXISTS); } sc->acpi_irq_rid = 0; bus_set_resource(sc->acpi_dev, SYS_RES_IRQ, 0, InterruptNumber, 1); if ((sc->acpi_irq = bus_alloc_resource(sc->acpi_dev, SYS_RES_IRQ, &sc->acpi_irq_rid, 0, ~0, 1, RF_SHAREABLE | RF_ACTIVE)) == NULL) { device_printf(sc->acpi_dev, "could not allocate SCI interrupt\n"); - return_ACPI_STATUS(AE_EXIST); + return_ACPI_STATUS(AE_ALREADY_EXISTS); } if (bus_setup_intr(sc->acpi_dev, sc->acpi_irq, INTR_TYPE_MISC, (driver_intr_t *)InterruptWrapper, Context, &sc->acpi_irq_handle)) { device_printf(sc->acpi_dev, "could not set up SCI interrupt\n"); - return_ACPI_STATUS(AE_EXIST); + return_ACPI_STATUS(AE_ALREADY_EXISTS); } return_ACPI_STATUS(AE_OK); |