devinfo_handle_to_device
*devinfo_handle_to_device(devinfo_handle_t handle);
if (!(root = devinfo_handle_to_device(DEVINFO_ROOT_DEVICE))) {
dev = devinfo_handle_to_device(res->dr_device);
if ((root = devinfo_handle_to_device(DEVINFO_ROOT_DEVICE)) == NULL)
if (devinfo_handle_to_device(res->dr_device) == dev) {