| 218 | } |
| 219 | |
| 220 | static int |
| 221 | nexus_print_child(device_t bus, device_t child) |
| 222 | { |
| 223 | int retval = 0; |
| 224 | |
| 225 | retval += bus_print_child_header(bus, child); |
| 226 | retval += nexus_print_all_resources(child); |
| 227 | if (device_get_flags(child)) |
| 228 | retval += printf(" flags %#x", device_get_flags(child)); |
| 229 | retval += printf(" on %s\n", device_get_nameunit(bus)); |
| 230 | |
| 231 | return (retval); |
| 232 | } |
| 233 | |
| 234 | static int |
| 235 | nexus_print_all_resources(device_t dev) |
nothing calls this directly
no test coverage detected