Lines Matching refs:cfg_cmd
406 volatile struct configure_cmd_struct *cfg_cmd; in init586() local
415 cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ in init586()
416 cfg_cmd->cmd_status = 0; in init586()
417 cfg_cmd->cmd_cmd = swab16(CMD_CONFIGURE | CMD_LAST); in init586()
418 cfg_cmd->cmd_link = 0xffff; in init586()
420 cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ in init586()
421 cfg_cmd->fifo = fifo; /* fifo-limit (8=tx:32/rx:64) */ in init586()
422 cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ in init586()
423 cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ in init586()
424 cfg_cmd->priority = 0x00; in init586()
425 cfg_cmd->ifs = 0x60; in init586()
426 cfg_cmd->time_low = 0x00; in init586()
427 cfg_cmd->time_high = 0xf2; in init586()
428 cfg_cmd->promisc = 0; in init586()
433 cfg_cmd->promisc = 1; in init586()
437 cfg_cmd->promisc = 1; in init586()
438 cfg_cmd->carr_coll = 0x00; in init586()
440 p->scb->cbl_offset = make16(cfg_cmd); in init586()
446 WAIT_4_STAT_COMPL(cfg_cmd); in init586()
448 if((swab16(cfg_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK)) in init586()
450 printk("%s: configure command failed: %x\n",dev->name,swab16(cfg_cmd->cmd_status)); in init586()