From dc2183bf5ca90ceb9adf3f3f6f25029613bfe886 Mon Sep 17 00:00:00 2001 From: Mitsuru IWASAKI Date: Thu, 22 Nov 2001 17:43:15 +0000 Subject: [PATCH] Add disabling code via the debug.acpi.disable environment variable. --- sys/dev/acpica/acpi_cmbat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index 281a2310bfc9..dc78c424a9ca 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -362,6 +362,7 @@ acpi_cmbat_probe(device_t dev) { if ((acpi_get_type(dev) == ACPI_TYPE_DEVICE) && + !acpi_disabled("cmbat") && acpi_MatchHid(dev, "PNP0C0A")) { /* * Set device description.