summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:41:14 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:41:14 +0000
commitbc26a2b3b0044c0e7082cedf29b4b76a8cbc3185 (patch)
tree170a58f7db6c673c79f71ba7f0ca237a68dc273b /sys/dev/acpica/acpi.c
parent7f780401e5c89cc3329023acb7b24d9538e90ed4 (diff)
downloadFreeBSD-src-bc26a2b3b0044c0e7082cedf29b4b76a8cbc3185.zip
FreeBSD-src-bc26a2b3b0044c0e7082cedf29b4b76a8cbc3185.tar.gz
Now that device disabling is generic, remove extraneous code from the
device drivers that used to provide this feature. Reviewed by: des Approved by: cperciva MFC after: 1 week
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r--sys/dev/acpica/acpi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index cfe08ed..5e0466d0 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -377,10 +377,6 @@ acpi_identify(void)
if (!cold)
return (ENXIO);
- /* Check that we haven't been disabled with a hint. */
- if (resource_disabled("acpi", 0))
- return (ENXIO);
-
/* Check for other PM systems. */
if (power_pm_get_type() != POWER_PM_TYPE_NONE &&
power_pm_get_type() != POWER_PM_TYPE_ACPI) {
OpenPOWER on IntegriCloud