Home
last modified time | relevance | path

Searched refs:ias_cmd (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/i825xx/
Dsun3_82586.c407 volatile struct iasetup_cmd_struct *ias_cmd; in init586() local
458 ias_cmd = (struct iasetup_cmd_struct *)ptr; in init586()
460 ias_cmd->cmd_status = 0; in init586()
461 ias_cmd->cmd_cmd = swab16(CMD_IASETUP | CMD_LAST); in init586()
462 ias_cmd->cmd_link = 0xffff; in init586()
464 memcpy((char *)&ias_cmd->iaddr,(const char *) dev->dev_addr,ETH_ALEN); in init586()
466 p->scb->cbl_offset = make16(ias_cmd); in init586()
471 WAIT_4_STAT_COMPL(ias_cmd); in init586()
473 if((swab16(ias_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_OK|STAT_COMPL)) { in init586()
474 …printk("%s (82586): individual address setup command failed: %04x\n",dev->name,swab16(ias_cmd->cmd… in init586()