/titanic_50/usr/src/grub/grub-0.97/netboot/ |
H A D | tulip.c | 749 if (nic->node_addr[0] == eeprom_fixups[i].addr0 in parse_eeprom() 750 && nic->node_addr[1] == eeprom_fixups[i].addr1 in parse_eeprom() 751 && nic->node_addr[2] == eeprom_fixups[i].addr2) { in parse_eeprom() 752 if (nic->node_addr[2] == 0xE8 && ee_data[0x1a] == 0x55) in parse_eeprom() 983 u32 addr_high = (nic->node_addr[1]<<8) + (nic->node_addr[0]<<0); in tulip_reset() 985 outl((nic->node_addr[5]<<8) + nic->node_addr[4] + in tulip_reset() 986 (nic->node_addr[3]<<24) + (nic->node_addr[2]<<16), in tulip_reset() 993 u32 addr_low = cpu_to_le32(get_unaligned((u32 *)nic->node_addr)); in tulip_reset() 994 u32 addr_high = cpu_to_le32(get_unaligned((u16 *)(nic->node_addr+4))); in tulip_reset() 1021 txb[0] = nic->node_addr[0]; in tulip_reset() [all …]
|
H A D | sundance.c | 402 addr16 = (nic->node_addr[0] | (nic->node_addr[1] << 8)); in sundance_reset() 404 addr16 = (nic->node_addr[2] | (nic->node_addr[3] << 8)); in sundance_reset() 406 addr16 = (nic->node_addr[4] | (nic->node_addr[5] << 8)); in sundance_reset() 431 txb[0] = nic->node_addr[0]; in sundance_reset() 432 txb[1] = nic->node_addr[1]; in sundance_reset() 433 txb[2] = nic->node_addr[2]; in sundance_reset() 434 txb[3] = nic->node_addr[3]; in sundance_reset() 435 txb[4] = nic->node_addr[4]; in sundance_reset() 436 txb[5] = nic->node_addr[5]; in sundance_reset() 527 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in sundance_transmit() [all …]
|
H A D | forcedeth.c | 665 (nic->node_addr[0] << 0) + (nic->node_addr[1] << 8) + in forcedeth_reset() 666 (nic->node_addr[2] << 16) + (nic->node_addr[3] << 24); in forcedeth_reset() 668 (nic->node_addr[4] << 0) + (nic->node_addr[5] << 8); in forcedeth_reset() 854 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in forcedeth_transmit() 964 nic->node_addr[0] = (np->orig_mac[1] >> 8) & 0xff; in forcedeth_probe() 965 nic->node_addr[1] = (np->orig_mac[1] >> 0) & 0xff; in forcedeth_probe() 966 nic->node_addr[2] = (np->orig_mac[0] >> 24) & 0xff; in forcedeth_probe() 967 nic->node_addr[3] = (np->orig_mac[0] >> 16) & 0xff; in forcedeth_probe() 968 nic->node_addr[4] = (np->orig_mac[0] >> 8) & 0xff; in forcedeth_probe() 969 nic->node_addr[5] = (np->orig_mac[0] >> 0) & 0xff; in forcedeth_probe() [all …]
|
H A D | davicom.c | 447 txb[0] = nic->node_addr[0]; in davicom_init_chain() 448 txb[1] = nic->node_addr[1]; in davicom_init_chain() 449 txb[4] = nic->node_addr[2]; in davicom_init_chain() 450 txb[5] = nic->node_addr[3]; in davicom_init_chain() 451 txb[8] = nic->node_addr[4]; in davicom_init_chain() 452 txb[9] = nic->node_addr[5]; in davicom_init_chain() 551 memcpy(&txb[ETH_ALEN], nic->node_addr, ETH_ALEN); /* SA 6byte*/ in davicom_transmit() 689 nic->node_addr[i] = ee_data[20+i]; in davicom_probe() 691 printf("Davicom %! at ioaddr %#hX\n", nic->node_addr, ioaddr); in davicom_probe()
|
H A D | r8169.c | 515 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); in r8169_transmit() 675 txb[0] = nic->node_addr[0]; in r8169_reset() 676 txb[1] = nic->node_addr[1]; in r8169_reset() 677 txb[2] = nic->node_addr[2]; in r8169_reset() 678 txb[3] = nic->node_addr[3]; in r8169_reset() 679 txb[4] = nic->node_addr[4]; in r8169_reset() 680 txb[5] = nic->node_addr[5]; in r8169_reset() 734 nic->node_addr[i] = RTL_R8(MAC0 + i); in r8169_probe() 739 printf("%s: %! at ioaddr %hX, ", pci->name, nic->node_addr, in r8169_probe()
|
H A D | ns8390.c | 303 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); in ns8390_reset() 402 memcpy((char *)eth_vmem+ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in ns8390_transmit() 424 memcpy((char *)eth_vmem+ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in ns8390_transmit() 448 eth_pio_write(nic->node_addr, (eth_tx_start<<8)+ETH_ALEN, ETH_ALEN); in ns8390_transmit() 686 nic->node_addr[i] = inb(i+eth_asic_base+WD_LAR); in eth_probe() 691 printf(", PIO mode, addr %!\n", nic->node_addr); in eth_probe() 696 printf(", memory %#x, addr %!\n", eth_bmem, nic->node_addr); in eth_probe() 707 printf(", memory %#x, addr %!\n", eth_bmem, nic->node_addr); in eth_probe() 825 nic->node_addr[i] = inb(eth_nic_base+i); in eth_probe() 828 nic->node_addr); in eth_probe() [all …]
|
H A D | tg3.c | 1642 addr_high = ((tp->nic->node_addr[0] << 8) | in __tg3_set_mac_addr() 1643 tp->nic->node_addr[1]); in __tg3_set_mac_addr() 1644 addr_low = ((tp->nic->node_addr[2] << 24) | in __tg3_set_mac_addr() 1645 (tp->nic->node_addr[3] << 16) | in __tg3_set_mac_addr() 1646 (tp->nic->node_addr[4] << 8) | in __tg3_set_mac_addr() 1647 (tp->nic->node_addr[5] << 0)); in __tg3_set_mac_addr() 1661 addr_high = (tp->nic->node_addr[0] + in __tg3_set_mac_addr() 1662 tp->nic->node_addr[1] + in __tg3_set_mac_addr() 1663 tp->nic->node_addr[2] + in __tg3_set_mac_addr() 1664 tp->nic->node_addr[3] + in __tg3_set_mac_addr() [all …]
|
H A D | natsemi.c | 281 nic->node_addr[i*2] = (eedata << 1) + (prev_eedata >> 15); in natsemi_probe() 282 nic->node_addr[i*2+1] = eedata >> 7; in natsemi_probe() 287 nic->node_addr, ioaddr); in natsemi_probe() 490 outw(nic->node_addr[i] + (nic->node_addr[i+1] << 8), ioaddr + RxFilterData); in natsemi_init_rxfilter() 622 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in natsemi_transmit()
|
H A D | pnic.c | 172 memcpy ( tx_buffer + ETH_ALEN, nic->node_addr, ETH_ALEN ); in pnic_transmit() 242 nic->node_addr, ETH_ALEN, NULL ); in pnic_probe() 244 nic->node_addr, priv.api_version>>8, priv.api_version&0xff, in pnic_probe()
|
H A D | pcnet32.c | 428 lp->init_block.phys_addr[i] = nic->node_addr[i]; in pcnet32_init_ring() 599 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in pcnet32_transmit() 800 nic->node_addr[i] = promaddr[i]; in pcnet32_probe() 803 printf("%s: %! at ioaddr %hX, ", pci->name, nic->node_addr, in pcnet32_probe() 873 if (nic->node_addr[0] == 0x00 && nic->node_addr[1] == 0xe0 in pcnet32_probe() 874 && nic->node_addr[2] == 0x75) in pcnet32_probe() 881 lp->init_block.phys_addr[i] = nic->node_addr[i]; in pcnet32_probe()
|
H A D | 3c595.c | 108 outb(nic->node_addr[i], BASE + VX_W2_ADDR_0 + i); in t595_reset() 210 outsw(BASE + VX_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); in t595_transmit() 500 p = (unsigned short *) nic->node_addr; in t595_probe() 508 printf("Ethernet address: %!\n", nic->node_addr); in t595_probe()
|
H A D | sis900.c | 179 ((u16 *)(nic->node_addr))[i] = sis900_read_eeprom(i+EEPROMMACAddr); in sis900_get_mac_addr() 214 ((u16 *)(nic->node_addr))[i] = sis900_read_eeprom(i+EEPROMMACAddr); in sis96x_get_mac_addr() 259 ((u8 *)(nic->node_addr))[i] = inb(0x71); in sis630e_get_mac_addr() 293 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr); in sis635_get_mac_addr() 366 nic->node_addr, ioaddr); in sis900_probe() 672 w = (u32) *((u16 *)(nic->node_addr)+i); in sis900_init_rxfilter() 1091 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in sis900_transmit()
|
H A D | rtl8139.c | 191 unsigned short *ap = (unsigned short*)nic->node_addr; in rtl8139_probe() 215 nic->irqno, nic->node_addr, speed10 ? "10" : "100", in rtl8139_probe() 326 outb(nic->node_addr[i], nic->ioaddr + MAC0 + i); in rtl_reset() 376 memcpy(tx_buffer + ETH_ALEN, nic->node_addr, ETH_ALEN); in rtl_transmit()
|
H A D | nic.h | 32 unsigned char *node_addr; member
|
H A D | eepro100.c | 407 memcpy (&hdr.src_addr, nic->node_addr, ETH_ALEN); in eepro100_transmit() 614 nic->node_addr[i] = (eeprom[i/2] >> (8*(i&1))) & 0xff; in eepro100_probe() 616 printf ("Ethernet addr: %!\n", nic->node_addr); in eepro100_probe() 673 t[i] = nic->node_addr[i]; in eepro100_probe()
|
H A D | epic100.c | 177 ap = (unsigned short*)nic->node_addr; in epic100_probe() 181 printf(" I/O %#hX %! ", ioaddr, nic->node_addr); in epic100_probe() 322 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN); in epic100_transmit()
|
H A D | w89c840.c | 317 writeb(nic->node_addr[i], ioaddr + StationAddr + i); in w89c840_reset() 502 memcpy (tx_packet + ETH_ALEN, nic->node_addr, ETH_ALEN);/* src */ in w89c840_transmit() 662 nic->node_addr[i] = (eeprom[i/2] >> (8*(i&1))) & 0xff; in w89c840_probe() 664 printf ("Ethernet addr: %!\n", nic->node_addr); in w89c840_probe()
|
H A D | ns83820.c | 732 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in ns83820_transmit() 983 ns83820_getmac(nic, nic->node_addr); in ns83820_probe() 984 printf("%! at ioaddr 0x%hX, ", nic->node_addr, ns->base); in ns83820_probe() 994 nic->node_addr, pci->ioaddr)); in ns83820_probe()
|
H A D | via-rhine.c | 983 nic->node_addr[i] = inb (byPAR0 + i); in rhine_probe1() 984 printf ("IO address %hX Ethernet Address: %!\n", ioaddr, nic->node_addr); in rhine_probe1() 1265 memcpy (tp->tx_buffs[entry] + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ in rhine_transmit()
|
/titanic_50/usr/src/lib/libuuid/common/ |
H A D | uuid.c | 240 (void) memcpy(&uuid->node_addr, &node, sizeof (uuid->node_addr)); in format_uuid() 311 (void) printf("%2.2x", u.node_addr[i]); in uuid_print() 348 (void) memcpy(out+10, uu->node_addr, 6); in struct_to_string() 383 (void) memcpy(uuid->node_addr, ptr, 6); in string_to_struct() 422 uuid.node_addr[0] |= 0x80; in uuid_generate_random() 496 uuid.node_addr[i]); in uuid_unparse_common() 596 uuid.node_addr[i] = strtoul(buf, NULL, 16); in uuid_parse()
|
H A D | uuid_misc.c | 147 return (memcmp(uuid1.node_addr, uuid2.node_addr, 6)); in uuid_compare()
|
/titanic_50/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | sched_impl.c | 574 uintptr_t node_addr; in crypto_pr_reqid() local 580 node_addr = (uintptr_t)data->rd_table.rt_idhash[i]; in crypto_pr_reqid() 583 node_addr = (uintptr_t)node.an_idnext; in crypto_pr_reqid() 585 mdb_printf("DEBUG: node_addr = %p\n", node_addr); in crypto_pr_reqid() 588 if (node_addr == NULL) in crypto_pr_reqid() 591 if (mdb_vread(&node, sizeof (kcf_areq_node_t), node_addr) in crypto_pr_reqid() 617 i, node_addr); in crypto_pr_reqid() 622 i, number_in_chain, node_addr); in crypto_pr_reqid()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | uuid.h | 76 uint8_t node_addr[6]; member
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 811 char *node_name = NULL, *node_addr = NULL; in lookup_in_conf_file() local 841 if ((node_addr = strchr(node_name, '@')) == NULL) in lookup_in_conf_file() 844 *node_addr = '\0'; in lookup_in_conf_file() 845 node_addr++; in lookup_in_conf_file() 849 port = (int)strtol(node_addr, NULL, 16); in lookup_in_conf_file() 851 unit_addr = node_addr; in lookup_in_conf_file() 924 if (node_addr != NULL) in lookup_in_conf_file() 925 *(node_addr - 1) = '@'; in lookup_in_conf_file()
|
/titanic_50/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 2037 char *node_addr; in ibnex_pseudo_mdi_config_one() local 2046 node_addr = (char *)kmem_alloc(len, KM_SLEEP); in ibnex_pseudo_mdi_config_one() 2048 (void) snprintf(node_addr, len, "%s,%s", cname, caddr); in ibnex_pseudo_mdi_config_one() 2050 (void *)node_addr, 0, 0); in ibnex_pseudo_mdi_config_one() 2051 kmem_free(node_addr, len); in ibnex_pseudo_mdi_config_one() 3452 char *node_addr, *temp, *unit_addr; in ibnex_pseudo_initnodes() local 3480 node_addr = kmem_zalloc(pnam_len, KM_SLEEP); in ibnex_pseudo_initnodes() 3482 (void) snprintf(node_addr, in ibnex_pseudo_initnodes() 3486 IBNEX_PSEUDO_NODE, (void *)node_addr, 0, 0); in ibnex_pseudo_initnodes() 3489 kmem_free(node_addr, pnam_len); in ibnex_pseudo_initnodes() [all …]
|