If flags are present, print them like ISA does.
MFC after: 1 day
This commit is contained in:
parent
b25a86c4ce
commit
bb55da4e20
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user