tag | line | file | source code |
cfg_cmd | 478 | drivers/net/ni52.c | volatile struct configure_cmd_struct *cfg_cmd; |
cfg_cmd | 484 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ |
cfg_cmd | 486 | drivers/net/ni52.c | cfg_cmd->byte_cnt = 0x04; /* number of cfg bytes */ |
cfg_cmd | 487 | drivers/net/ni52.c | cfg_cmd->fifo = 0xc8; /* fifo-limit (8=tx:32/rx:64) | monitor */ |
cfg_cmd | 488 | drivers/net/ni52.c | cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ |
cfg_cmd | 489 | drivers/net/ni52.c | cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ |
cfg_cmd | 490 | drivers/net/ni52.c | cfg_cmd->cmd_status = 0; |
cfg_cmd | 491 | drivers/net/ni52.c | cfg_cmd->cmd_cmd = CMD_CONFIGURE | CMD_LAST; |
cfg_cmd | 492 | drivers/net/ni52.c | cfg_cmd->cmd_link = 0xffff; |
cfg_cmd | 494 | drivers/net/ni52.c | p->scb->cbl_offset = make16(cfg_cmd); |
cfg_cmd | 500 | drivers/net/ni52.c | while(!(cfg_cmd->cmd_status & STAT_COMPL)) |
cfg_cmd | 503 | drivers/net/ni52.c | if((cfg_cmd->cmd_status & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK)) |
cfg_cmd | 505 | drivers/net/ni52.c | printk("%s (ni52): configure command failed: %x\n",dev->name,cfg_cmd->cmd_status); |
cfg_cmd | 1120 | drivers/net/ni52.c | cfg_cmd = (struct configure_cmd_struct *) p->xmit_cbuffs[0]; /* we're using a transmitcommand */ |
cfg_cmd | 1122 | drivers/net/ni52.c | cfg_cmd->cmd_status = 0; |
cfg_cmd | 1123 | drivers/net/ni52.c | cfg_cmd->cmd_cmd = CMD_CONFIGURE | CMD_LAST; |
cfg_cmd | 1124 | drivers/net/ni52.c | cfg_cmd->cmd_link = 0xffff; |
cfg_cmd | 1126 | drivers/net/ni52.c | cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ |
cfg_cmd | 1127 | drivers/net/ni52.c | cfg_cmd->fifo = 0x08; /* fifo-limit (8=tx:32/rx:64) */ |
cfg_cmd | 1128 | drivers/net/ni52.c | cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ |
cfg_cmd | 1129 | drivers/net/ni52.c | cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ |
cfg_cmd | 1130 | drivers/net/ni52.c | cfg_cmd->priority = 0x00; |
cfg_cmd | 1131 | drivers/net/ni52.c | cfg_cmd->ifd = 0x60; |
cfg_cmd | 1132 | drivers/net/ni52.c | cfg_cmd->time_low = 0x00; |
cfg_cmd | 1133 | drivers/net/ni52.c | cfg_cmd->time_high = 0xf2; |
cfg_cmd | 1134 | drivers/net/ni52.c | cfg_cmd->promisc = 0x01; /* promisc on */ |
cfg_cmd | 1135 | drivers/net/ni52.c | cfg_cmd->carr_coll = 0x00; |
cfg_cmd | 1137 | drivers/net/ni52.c | p->scb->cbl_offset = make16(cfg_cmd); |