* @internal * @brief Print a description of a device. */
| 1828 | * @brief Print a description of a device. |
| 1829 | */ |
| 1830 | static int |
| 1831 | device_print_child(device_t dev, device_t child) |
| 1832 | { |
| 1833 | int retval = 0; |
| 1834 | |
| 1835 | if (device_is_alive(child)) |
| 1836 | retval += BUS_PRINT_CHILD(dev, child); |
| 1837 | else |
| 1838 | retval += device_printf(child, " not found\n"); |
| 1839 | |
| 1840 | return (retval); |
| 1841 | } |
| 1842 | |
| 1843 | /** |
| 1844 | * @brief Create a new device |
no test coverage detected