taglinefilesource code
cfg_cmd539drivers/net/ni52.cvolatile struct configure_cmd_struct  *cfg_cmd;
cfg_cmd548drivers/net/ni52.ccfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */
cfg_cmd549drivers/net/ni52.ccfg_cmd->cmd_status = 0;
cfg_cmd550drivers/net/ni52.ccfg_cmd->cmd_cmd    = CMD_CONFIGURE | CMD_LAST;
cfg_cmd551drivers/net/ni52.ccfg_cmd->cmd_link   = 0xffff;
cfg_cmd553drivers/net/ni52.ccfg_cmd->byte_cnt   = 0x0a; /* number of cfg bytes */
cfg_cmd554drivers/net/ni52.ccfg_cmd->fifo       = fifo; /* fifo-limit (8=tx:32/rx:64) */
cfg_cmd555drivers/net/ni52.ccfg_cmd->sav_bf     = 0x40; /* hold or discard bad recv frames (bit 7) */
cfg_cmd556drivers/net/ni52.ccfg_cmd->adr_len    = 0x2e; /* addr_len |!src_insert |pre-len |loopback */
cfg_cmd557drivers/net/ni52.ccfg_cmd->priority   = 0x00;
cfg_cmd558drivers/net/ni52.ccfg_cmd->ifs        = 0x60;
cfg_cmd559drivers/net/ni52.ccfg_cmd->time_low   = 0x00;
cfg_cmd560drivers/net/ni52.ccfg_cmd->time_high  = 0xf2;
cfg_cmd561drivers/net/ni52.ccfg_cmd->promisc    = 0;
cfg_cmd571drivers/net/ni52.ccfg_cmd->promisc=1;
cfg_cmd574drivers/net/ni52.ccfg_cmd->carr_coll  = 0x00;
cfg_cmd576drivers/net/ni52.cp->scb->cbl_offset = make16(cfg_cmd);
cfg_cmd582drivers/net/ni52.cWAIT_4_STAT_COMPL(cfg_cmd);
cfg_cmd584drivers/net/ni52.cif((cfg_cmd->cmd_status & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK))
cfg_cmd586drivers/net/ni52.cprintk("%s: configure command failed: %x\n",dev->name,cfg_cmd->cmd_status);