summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 64e8ceb..72c264e 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -227,6 +227,11 @@ extern void acpi_EnterDebugger(void);
#define STEP(x)
#endif
+#define ACPI_VPRINT(dev, acpi_sc, x...) do { \
+ if (acpi_get_verbose(acpi_sc)) \
+ device_printf(dev, x); \
+} while (0)
+
extern BOOLEAN acpi_DeviceIsPresent(device_t dev);
extern BOOLEAN acpi_MatchHid(device_t dev, char *hid);
extern ACPI_STATUS acpi_GetHandleInScope(ACPI_HANDLE parent, char *path, ACPI_HANDLE *result);
OpenPOWER on IntegriCloud