Lines Matching refs:node_addr
759 if (nic->node_addr[0] == eeprom_fixups[i].addr0
760 && nic->node_addr[1] == eeprom_fixups[i].addr1
761 && nic->node_addr[2] == eeprom_fixups[i].addr2) {
762 if (nic->node_addr[2] == 0xE8 && ee_data[0x1a] == 0x55)
982 u32 addr_high = (nic->node_addr[1]<<8) + (nic->node_addr[0]<<0);
984 outl((nic->node_addr[5]<<8) + nic->node_addr[4] +
985 (nic->node_addr[3]<<24) + (nic->node_addr[2]<<16),
992 u32 addr_low = cpu_to_le32(get_unaligned((u32 *)nic->node_addr));
993 u32 addr_high = cpu_to_le32(get_unaligned((u16 *)(nic->node_addr+4)));
1020 txb[0] = nic->node_addr[0];
1021 txb[1] = nic->node_addr[1];
1022 txb[4] = nic->node_addr[2];
1023 txb[5] = nic->node_addr[3];
1024 txb[8] = nic->node_addr[4];
1025 txb[9] = nic->node_addr[5];
1084 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN);
1301 nic->node_addr[i] = value;
1311 put_unaligned(le16_to_cpu(value), ((u16*)nic->node_addr) + i);
1316 put_unaligned(inl(ioaddr + 0xA4), (u32 *)nic->node_addr);
1317 put_unaligned(inl(ioaddr + 0xA8), (u16 *)(nic->node_addr + 4));
1319 sum += nic->node_addr[i];
1339 nic->node_addr[i] = ee_data[i + sa_offset];
1344 if ((nic->node_addr[0] == 0xA0 || nic->node_addr[0] == 0xC0)
1345 && nic->node_addr[1] == 0x00)
1347 char tmp = nic->node_addr[i];
1348 nic->node_addr[i] = nic->node_addr[i+1];
1349 nic->node_addr[i+1] = tmp;
1355 nic->node_addr[i] = last_phys_addr[i];
1356 nic->node_addr[i] = last_phys_addr[i] + 1;
1360 last_phys_addr[i] = nic->node_addr[i];
1362 printf("%s: %! at ioaddr %hX\n", tp->nic_name, nic->node_addr, ioaddr);