tag | line | file | source code |
cfg_cmd | 539 | drivers/net/ni52.c | volatile struct configure_cmd_struct *cfg_cmd; |
cfg_cmd | 548 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
cfg_cmd | 549 | drivers/net/ni52.c | cfg_cmd->cmd_status = 0; |
cfg_cmd | 550 | drivers/net/ni52.c | cfg_cmd->cmd_cmd = CMD_CONFIGURE | CMD_LAST; |
cfg_cmd | 551 | drivers/net/ni52.c | cfg_cmd->cmd_link = 0xffff; |
cfg_cmd | 553 | drivers/net/ni52.c | cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ |
cfg_cmd | 554 | drivers/net/ni52.c | cfg_cmd->fifo = fifo; /* fifo-limit (8=tx:32/rx:64) */ |
cfg_cmd | 555 | drivers/net/ni52.c | cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ |
cfg_cmd | 556 | drivers/net/ni52.c | cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ |
cfg_cmd | 557 | drivers/net/ni52.c | cfg_cmd->priority = 0x00; |
cfg_cmd | 558 | drivers/net/ni52.c | cfg_cmd->ifs = 0x60; |
cfg_cmd | 559 | drivers/net/ni52.c | cfg_cmd->time_low = 0x00; |
cfg_cmd | 560 | drivers/net/ni52.c | cfg_cmd->time_high = 0xf2; |
cfg_cmd | 561 | drivers/net/ni52.c | cfg_cmd->promisc = 0; |
cfg_cmd | 571 | drivers/net/ni52.c | cfg_cmd->promisc=1; |
cfg_cmd | 574 | drivers/net/ni52.c | cfg_cmd->carr_coll = 0x00; |
cfg_cmd | 576 | drivers/net/ni52.c | p->scb->cbl_offset = make16(cfg_cmd); |
cfg_cmd | 582 | drivers/net/ni52.c | WAIT_4_STAT_COMPL(cfg_cmd); |
cfg_cmd | 584 | drivers/net/ni52.c | if((cfg_cmd->cmd_status & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK)) |
cfg_cmd | 586 | drivers/net/ni52.c | printk("%s: configure command failed: %x\n",dev->name,cfg_cmd->cmd_status); |