View | Details | Raw Unified | Return to bug 227191
Collapse All | Expand All

(-)acpi.c (-2 / +2 lines)
Lines 2232-2238 Link Here
2232
2232
2233
	/* If no _STA method, must be present */
2233
	/* If no _STA method, must be present */
2234
	if (ACPI_FAILURE(status))
2234
	if (ACPI_FAILURE(status))
2235
		return (status == AE_NOT_FOUND ? TRUE : FALSE);
2235
		return ((status == AE_NOT_FOUND || status == AE_NOT_EXIST) ? TRUE : FALSE);
2236
2236
2237
	return (ACPI_DEVICE_PRESENT(s) ? TRUE : FALSE);
2237
	return (ACPI_DEVICE_PRESENT(s) ? TRUE : FALSE);
2238
}
2238
}
Lines 2254-2260 Link Here
2254
2254
2255
	/* If no _STA method, must be present */
2255
	/* If no _STA method, must be present */
2256
	if (ACPI_FAILURE(status))
2256
	if (ACPI_FAILURE(status))
2257
		return (status == AE_NOT_FOUND ? TRUE : FALSE);
2257
		return ((status == AE_NOT_FOUND || status == AE_NOT_EXIST) ? TRUE : FALSE);
2258
2258
2259
	return (ACPI_BATTERY_PRESENT(s) ? TRUE : FALSE);
2259
	return (ACPI_BATTERY_PRESENT(s) ? TRUE : FALSE);
2260
}
2260
}

Return to bug 227191