/external/syslinux/gpxe/src/drivers/net/ |
D | tulip.c | 767 if (nic->node_addr[0] == eeprom_fixups[i].addr0 in parse_eeprom() 768 && nic->node_addr[1] == eeprom_fixups[i].addr1 in parse_eeprom() 769 && nic->node_addr[2] == eeprom_fixups[i].addr2) { in parse_eeprom() 770 if (nic->node_addr[2] == 0xE8 && ee_data[0x1a] == 0x55) in parse_eeprom() 1003 u32 addr_high = (nic->node_addr[1]<<8) + (nic->node_addr[0]<<0); in tulip_reset() 1005 outl((nic->node_addr[5]<<8) + nic->node_addr[4] + in tulip_reset() 1006 (nic->node_addr[3]<<24) + (nic->node_addr[2]<<16), in tulip_reset() 1013 u32 addr_low = cpu_to_le32(get_unaligned((u32 *)nic->node_addr)); in tulip_reset() 1014 u32 addr_high = cpu_to_le32(get_unaligned((u16 *)(nic->node_addr+4))); in tulip_reset() 1041 txb[0] = nic->node_addr[0]; in tulip_reset() [all …]
|
D | sundance.c | 377 addr16 = (nic->node_addr[0] | (nic->node_addr[1] << 8)); in sundance_reset() 379 addr16 = (nic->node_addr[2] | (nic->node_addr[3] << 8)); in sundance_reset() 381 addr16 = (nic->node_addr[4] | (nic->node_addr[5] << 8)); in sundance_reset() 406 txb[0] = nic->node_addr[0]; in sundance_reset() 407 txb[1] = nic->node_addr[1]; in sundance_reset() 408 txb[2] = nic->node_addr[2]; in sundance_reset() 409 txb[3] = nic->node_addr[3]; in sundance_reset() 410 txb[4] = nic->node_addr[4]; in sundance_reset() 411 txb[5] = nic->node_addr[5]; in sundance_reset() 502 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in sundance_transmit() [all …]
|
D | forcedeth.c | 952 (nic->node_addr[0] << 0) + (nic->node_addr[1] << 8) + in forcedeth_reset() 953 (nic->node_addr[2] << 16) + (nic->node_addr[3] << 24); in forcedeth_reset() 955 (nic->node_addr[4] << 0) + (nic->node_addr[5] << 8); in forcedeth_reset() 1136 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in forcedeth_transmit() 1275 nic->node_addr[0] = (np->orig_mac[0] >> 0) & 0xff; in forcedeth_probe() 1276 nic->node_addr[1] = (np->orig_mac[0] >> 8) & 0xff; in forcedeth_probe() 1277 nic->node_addr[2] = (np->orig_mac[0] >> 16) & 0xff; in forcedeth_probe() 1278 nic->node_addr[3] = (np->orig_mac[0] >> 24) & 0xff; in forcedeth_probe() 1279 nic->node_addr[4] = (np->orig_mac[1] >> 0) & 0xff; in forcedeth_probe() 1280 nic->node_addr[5] = (np->orig_mac[1] >> 8) & 0xff; in forcedeth_probe() [all …]
|
D | cs89x0.c | 272 memcpy(testpacket, nic->node_addr, ETH_ALEN); in send_test_pkt() 273 memcpy(testpacket+ETH_ALEN, nic->node_addr, ETH_ALEN); in send_test_pkt() 365 nic->node_addr[i*2] | in cs89x0_reset() 366 (nic->node_addr[i*2+1] << 8)); in cs89x0_reset() 420 outsw(eth_nic_base + TX_FRAME_PORT, nic->node_addr, in cs89x0_transmit() 578 nic->node_addr[i] = ((unsigned char *)eeprom_buff)[i]; in cs89x0_probe() 581 DBG ( "%s\n", eth_ntoa ( nic->node_addr ) ); in cs89x0_probe() 588 memcpy(nic->node_addr, MAC_HW_ADDR, 6); in cs89x0_probe() 591 DBG ( "%s\n", eth_ntoa ( nic->node_addr ) ); in cs89x0_probe()
|
D | davicom.c | 451 txb[0] = nic->node_addr[0]; in davicom_init_chain() 452 txb[1] = nic->node_addr[1]; in davicom_init_chain() 453 txb[4] = nic->node_addr[2]; in davicom_init_chain() 454 txb[5] = nic->node_addr[3]; in davicom_init_chain() 455 txb[8] = nic->node_addr[4]; in davicom_init_chain() 456 txb[9] = nic->node_addr[5]; in davicom_init_chain() 555 memcpy(&txb[ETH_ALEN], nic->node_addr, ETH_ALEN); /* SA 6byte*/ in davicom_transmit() 691 nic->node_addr[i] = ee_data[20+i]; in davicom_probe() 693 DBG ( "Davicom %s at IOADDR %4.4lx\n", eth_ntoa ( nic->node_addr ), ioaddr ); in davicom_probe()
|
D | ns8390.c | 317 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); in ns8390_reset() 416 memcpy((char *)eth_vmem+ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in ns8390_transmit() 438 memcpy((char *)eth_vmem+ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in ns8390_transmit() 462 eth_pio_write(nic->node_addr, (eth_tx_start<<8)+ETH_ALEN, ETH_ALEN); in ns8390_transmit() 704 nic->node_addr[i] = inb(i+eth_asic_base+WD_LAR); in eth_probe() 709 DBG ( ", PIO mode, addr %s\n", eth_ntoa ( nic->node_addr ) ); in eth_probe() 714 DBG ( ", Memory %x, MAC Addr %s\n", eth_bmem, eth_ntoa ( nic->node_addr) ); in eth_probe() 727 DBG (", Memory %x, MAC Addr %s\n", eth_bmem, eth_ntoa ( nic->node_addr) ); in eth_probe() 846 nic->node_addr[i] = inb(eth_nic_base+i); in eth_probe() 849 eth_ntoa ( nic->node_addr ) ); in eth_probe() [all …]
|
D | tg3.c | 1702 addr_high = ((tp->nic->node_addr[0] << 8) | in __tg3_set_mac_addr() 1703 tp->nic->node_addr[1]); in __tg3_set_mac_addr() 1704 addr_low = ((tp->nic->node_addr[2] << 24) | in __tg3_set_mac_addr() 1705 (tp->nic->node_addr[3] << 16) | in __tg3_set_mac_addr() 1706 (tp->nic->node_addr[4] << 8) | in __tg3_set_mac_addr() 1707 (tp->nic->node_addr[5] << 0)); in __tg3_set_mac_addr() 1721 addr_high = (tp->nic->node_addr[0] + in __tg3_set_mac_addr() 1722 tp->nic->node_addr[1] + in __tg3_set_mac_addr() 1723 tp->nic->node_addr[2] + in __tg3_set_mac_addr() 1724 tp->nic->node_addr[3] + in __tg3_set_mac_addr() [all …]
|
D | dmfe.c | 412 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); in dmfe_transmit() 489 nic->node_addr[i] = db->srom[20 + i]; in dmfe_probe() 492 DBG ( "%s: %s at ioaddr %4.4lx\n", pci->driver_name, eth_ntoa ( nic->node_addr ), BASE ); in dmfe_probe() 594 addrptr = (u16 *) nic->node_addr; in dm9132_id_table() 641 ptxb[0] = nic->node_addr[0]; in send_filter_frame() 642 ptxb[1] = nic->node_addr[1]; in send_filter_frame() 643 ptxb[4] = nic->node_addr[2]; in send_filter_frame() 644 ptxb[5] = nic->node_addr[3]; in send_filter_frame() 645 ptxb[8] = nic->node_addr[4]; in send_filter_frame() 646 ptxb[9] = nic->node_addr[5]; in send_filter_frame()
|
D | pcnet32.c | 403 lp->init_block.phys_addr[i] = nic->node_addr[i]; in pcnet32_init_ring() 591 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in pcnet32_transmit() 792 nic->node_addr[i] = promaddr[i]; in pcnet32_probe() 797 eth_ntoa ( nic->node_addr ) ); in pcnet32_probe() 874 if (nic->node_addr[0] == 0x00 && nic->node_addr[1] == 0xe0 in pcnet32_probe() 875 && nic->node_addr[2] == 0x75) in pcnet32_probe() 882 lp->init_block.phys_addr[i] = nic->node_addr[i]; in pcnet32_probe()
|
D | virtio-net.c | 166 memcpy(tx_eth_frame.hdr.src_addr, nic->node_addr, ETH_ALEN); in virtnet_transmit() 266 nic->node_addr, ETH_ALEN); in virtnet_probe() 269 printf("%02x%c", nic->node_addr[i], in virtnet_probe()
|
D | depca.c | 497 lp.init_block.phys_addr[i] = nic->node_addr[i]; 627 memcpy_toio(mem + ETH_ALEN, nic->node_addr, ETH_ALEN); 753 sum += (u8)(nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM)); 754 sum += (u16)((nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM)) << 8); 773 mem_start + mem_len, eth_ntoa ( nic->node_addr ) );
|
D | sis900.c | 194 ((u16 *)(nic->node_addr))[i] = sis900_read_eeprom(i+EEPROMMACAddr); in sis900_get_mac_addr() 229 ((u16 *)(nic->node_addr))[i] = sis900_read_eeprom(i+EEPROMMACAddr); in sis96x_get_mac_addr() 274 ((u8 *)(nic->node_addr))[i] = inb(0x71); in sis630e_get_mac_addr() 282 memset ( nic->node_addr, 0, sizeof ( nic->node_addr ) ); in sis630e_get_mac_addr() 313 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr); in sis635_get_mac_addr() 695 w = (u32) *((u16 *)(nic->node_addr)+i); in sis900_init_rxfilter() 1123 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in sis900_transmit()
|
D | 3c5x9.c | 82 outb(nic->node_addr[i], nic->ioaddr + EP_W2_ADDR_0 + i); in t509_enable() 182 outsw(nic->ioaddr + EP_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); in t509_transmit() 396 p = (unsigned short *) nic->node_addr; in t5x9_probe() 403 DBG ( "Ethernet Address: %s\n", eth_ntoa ( nic->node_addr ) ); in t5x9_probe()
|
D | ne2k_isa.c | 197 nic->node_addr[i] = romdata[i + ((eth_flags & FLAG_16BIT) ? i : 0)]; in ne_probe() 202 nic->node_addr)); in ne_probe() 254 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); in ne_reset() 346 eth_pio_write(nic->node_addr, (eth_tx_start << 8) + ETH_ALEN, ETH_ALEN); in ne_transmit()
|
D | 3c595.c | 112 outb(nic->node_addr[i], BASE + VX_W2_ADDR_0 + i); in t595_reset() 214 outsw(BASE + VX_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); in t595_transmit() 501 p = (unsigned short *) nic->node_addr; in t595_probe() 509 DBG ( "Ethernet address: %s\n", eth_ntoa (nic->node_addr) ); in t595_probe()
|
D | legacy.c | 102 nic.node_addr = netdev->hw_addr; in legacy_probe() 125 netdev->ll_protocol->ntoa ( nic.node_addr ) ); in legacy_probe()
|
D | eepro.c | 311 outb(nic->node_addr[i], nic->ioaddr + I_ADD_REG0 + i); in eepro_reset() 437 outsw(nic->ioaddr + IO_PORT, nic->node_addr, ETH_ALEN / 2); in eepro_transmit() 597 nic->node_addr[i] = station_addr.caddr[i]; in eepro_probe() 600 DBG ( "%s ioaddr %#hX, addr %s", name, nic->ioaddr, eth_ntoa ( nic->node_addr ) ); in eepro_probe()
|
D | epic100.c | 188 ap = (unsigned short*)nic->node_addr; in epic100_probe() 192 DBG ( " I/O %4.4x %s ", ioaddr, eth_ntoa ( nic->node_addr ) ); in epic100_probe() 330 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN); in epic100_transmit()
|
D | w89c840.c | 314 writeb(nic->node_addr[i], ioaddr + StationAddr + i); in w89c840_reset() 500 memcpy (w89c840_buf.tx_packet + ETH_ALEN, nic->node_addr, ETH_ALEN);/*src*/ in w89c840_transmit() 676 nic->node_addr[i] = (eeprom[i/2] >> (8*(i&1))) & 0xff; in w89c840_probe() 679 DBG ( "Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) ); in w89c840_probe()
|
D | prism2.c | 684 memcpy(txdesc.address2, nic->node_addr, WLAN_ADDR_LEN); in prism2_transmit() 777 DBG ( "MAC address %s\n", eth_ntoa ( nic->node_addr ) ); in prism2_probe() 780 …hfa384x_drvr_getconfig ( hw, HFA384x_RID_CNFOWNMACADDR, nic->node_addr, HFA384x_RID_CNFOWNMACADDR_… in prism2_probe() 851 DBG ( " MAC address %s)\n", eth_ntoa (nic->node_addr ) ); in prism2_probe()
|
D | amd8111e.c | 258 writeb(nic->node_addr[i], mmio + PADR + i); in amd8111e_start() 390 nic->node_addr[i] = readb(mmio + PADR + i); in amd8111e_get_mac_address() 392 DBG ( "Ethernet addr: %s\n", eth_ntoa ( nic->node_addr ) ); in amd8111e_get_mac_address() 544 memcpy(frame->src_addr, nic->node_addr, ETH_ALEN); in amd8111e_transmit()
|
D | smc9000.c | 698 outsw(nic->ioaddr + DATA_1, nic->node_addr, ETH_ALEN >> 1); in smc9000_transmit() 856 nic->node_addr[i+1] = address >> 8; in smc9000_probe() 857 nic->node_addr[i] = address & 0xFF; in smc9000_probe() 906 DBG ( "Ethernet MAC address: %s\n", eth_ntoa ( nic->node_addr ) ); in smc9000_probe()
|
D | 3c515.c | 348 outb(nic->node_addr[i], nic->ioaddr + i); in t515_reset() 548 outsw(nic->ioaddr + TX_FIFO, nic->node_addr, ETH_ALEN / 2); in t515_transmit() 688 short *phys_addr = (short *) nic->node_addr; in corkscrew_probe1() 707 DBG ( "%s", eth_ntoa ( nic->node_addr ) ); in corkscrew_probe1()
|
D | mtd80x.c | 526 memcpy( txb + ETH_ALEN, nic->node_addr, ETH_ALEN ); in mtd_transmit() 627 nic->node_addr[i] = inb(mtdx.ioaddr + PAR0 + i); in mtd_probe() 630 if (memcmp(nic->node_addr, "\0\0\0\0\0\0", 6) == 0) in mtd_probe() 635 DBG ( "%s: ioaddr %4.4x MAC %s\n", mtdx.nic_name, mtdx.ioaddr, eth_ntoa ( nic->node_addr ) ); in mtd_probe()
|
/external/syslinux/gpxe/src/core/ |
D | proto_eth_slow.c | 315 if (memcmp(nic.node_addr, lacp.pkt.actor.system, ETH_ALEN) != 0) { in send_lacp_reports() 316 lacp_init_state(nic.node_addr); in send_lacp_reports() 328 lacp_init_state(nic.node_addr); in send_lacp_reports() 362 if (memcmp(nic.node_addr, lacp.pkt.actor.system, ETH_ALEN) != 0) { in process_eth_slow() 363 lacp_init_state(nic.node_addr); in process_eth_slow()
|