aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-10-13 07:27:21 +0000
committerNate Lawson <njl@FreeBSD.org>2004-10-13 07:27:21 +0000
commita91c5fa830c88beb7d2adb60e0905d4ce80ea452 (patch)
tree2f15af07dde3a227ee68bed637988f76e9415692 /sys/dev/acpica/acpi.c
parenta21137f7ad6c0c6080deb30aa25cd465cda9cf46 (diff)
downloadsrc-a91c5fa830c88beb7d2adb60e0905d4ce80ea452.tar.gz
src-a91c5fa830c88beb7d2adb60e0905d4ce80ea452.zip
If flags are present, print them like ISA does.
MFC after: 1 day
Notes
Notes: svn path=/head/; revision=136475
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-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 de8b1ee74ded..0823d29cb067 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);
}