i_detach_ctlop
i_detach_ctlop(devi, cmd, DDI_PRE, 0);
i_detach_ctlop(devi, cmd, DDI_POST, error);
static void i_detach_ctlop(dev_info_t *, ddi_detach_cmd_t, ddi_pre_post_t, int);