If flags are present, print them like ISA does.

MFC after:	1 day
This commit is contained in:
Nate Lawson 2004-10-13 07:27:21 +00:00
parent a21137f7ad
commit a91c5fa830

View File

@ -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);
}