diff options
author | msmith <msmith@FreeBSD.org> | 2001-08-26 22:50:15 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-08-26 22:50:15 +0000 |
commit | f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab (patch) | |
tree | 4610d877b8ba6f12e999a1168d835b4c80f630ae /sys/dev/acpica/acpi_ec.c | |
parent | b01167587ae69f630d3f370d40dcdf353b3c063c (diff) | |
download | FreeBSD-src-f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab.zip FreeBSD-src-f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab.tar.gz |
Updates to match the ACPI CA 20010816 import:
- New debug macro (ACPI_DEBUG_PRINT), reducing debug-case code size.
- New debug level/subsystem codes.
Diffstat (limited to 'sys/dev/acpica/acpi_ec.c')
-rw-r--r-- | sys/dev/acpica/acpi_ec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c index 2258f18..5bfc4cd 100644 --- a/sys/dev/acpica/acpi_ec.c +++ b/sys/dev/acpica/acpi_ec.c @@ -367,7 +367,7 @@ acpi_ec_attach(device_t dev) /* * Evaluate resources */ - DEBUG_PRINT(TRACE_RESOURCES, ("parsing EC resources\n")); + ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "parsing EC resources\n")); acpi_parse_resources(sc->ec_dev, sc->ec_handle, &acpi_res_parse_set); /* @@ -397,7 +397,7 @@ acpi_ec_attach(device_t dev) * Evaluate the _GPE method to find the GPE bit used by the EC to signal * status (SCI). */ - DEBUG_PRINT(TRACE_RESOURCES, ("attaching GPE\n")); + ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "attaching GPE\n")); if ((Status = acpi_EvaluateInteger(sc->ec_handle, "_GPE", &sc->ec_gpebit)) != AE_OK) { device_printf(dev, "can't evaluate _GPE - %s\n", AcpiFormatException(Status)); return_VALUE(ENXIO); @@ -421,7 +421,7 @@ acpi_ec_attach(device_t dev) /* * Install address space handler */ - DEBUG_PRINT(TRACE_RESOURCES, ("attaching address space handler\n")); + ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "attaching address space handler\n")); if ((Status = AcpiInstallAddressSpaceHandler(sc->ec_handle, ACPI_ADR_SPACE_EC, EcSpaceHandler, EcSpaceSetup, sc)) != AE_OK) { device_printf(dev, "can't install address space handler for %s - %s\n", @@ -429,7 +429,7 @@ acpi_ec_attach(device_t dev) panic("very suck"); return_VALUE(ENXIO); } - DEBUG_PRINT(TRACE_RESOURCES, ("attach complete\n")); + ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "attach complete\n")); return_VALUE(0); } |