SMRT_CMDTYPE_EVENT
event = smrt_command_alloc(smrt, SMRT_CMDTYPE_EVENT, KM_NOSLEEP);
case SMRT_CMDTYPE_EVENT: