Add disabling code via the debug.acpi.disable environment variable.

This commit is contained in:
Mitsuru IWASAKI 2001-11-22 17:43:15 +00:00
parent 5b7d36ba0f
commit dc2183bf5c

View File

@ -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.