summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-13 07:27:21 +0000
committernjl <njl@FreeBSD.org>2004-10-13 07:27:21 +0000
commitbb55da4e205aa3e96174c625f313d1a5bf199176 (patch)
tree2f15af07dde3a227ee68bed637988f76e9415692 /sys/dev/acpica
parentb25a86c4ce6a955612f9e1cfaf9c53a7bf09ccda (diff)
downloadFreeBSD-src-bb55da4e205aa3e96174c625f313d1a5bf199176.zip
FreeBSD-src-bb55da4e205aa3e96174c625f313d1a5bf199176.tar.gz
If flags are present, print them like ISA does.
MFC after: 1 day
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index de8b1ee..0823d29 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -618,6 +618,8 @@ acpi_print_child(device_t bus, device_t child)
retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%ld");
retval += resource_list_print_type(rl, "drq", SYS_RES_DRQ, "%ld");
retval += bus_print_child_footer(bus, child);
+ if (device_get_flags(child))
+ retval += printf(" flags %#x", device_get_flags(child));
return (retval);
}
OpenPOWER on IntegriCloud