taglinefilesource code
tdr_cmd480drivers/net/ni52.cvolatile struct tdr_cmd_struct *tdr_cmd;
tdr_cmd537drivers/net/ni52.ctdr_cmd = (struct tdr_cmd_struct *)ptr;
tdr_cmd539drivers/net/ni52.ctdr_cmd->cmd_status  = 0;
tdr_cmd540drivers/net/ni52.ctdr_cmd->cmd_cmd     = CMD_TDR | CMD_LAST;
tdr_cmd541drivers/net/ni52.ctdr_cmd->cmd_link    = 0xffff;
tdr_cmd542drivers/net/ni52.ctdr_cmd->status      = 0;
tdr_cmd544drivers/net/ni52.cp->scb->cbl_offset = make16(tdr_cmd);
tdr_cmd550drivers/net/ni52.cwhile(!(tdr_cmd->cmd_status & STAT_COMPL))
tdr_cmd559drivers/net/ni52.cresult = tdr_cmd->status;