mdi_pre_attach
if ((error = mdi_pre_attach(devi, cmd)) != DDI_SUCCESS) {
int mdi_pre_attach(dev_info_t *, ddi_attach_cmd_t);