dcd_doattach
if (dcd_doattach(devi, SLEEP_FUNC) == DDI_FAILURE) {
static int dcd_doattach(dev_info_t *devi, int (*f)());