From a91c5fa830c88beb7d2adb60e0905d4ce80ea452 Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Wed, 13 Oct 2004 07:27:21 +0000 Subject: [PATCH] If flags are present, print them like ISA does. MFC after: 1 day --- sys/dev/acpica/acpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index de8b1ee74de..0823d29cb06 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); }