tag | line | file | source code |
dev_addr | 274 | drivers/net/3c501.c | memcpy(dev->dev_addr, station_addr, ETH_ALEN); |
dev_addr | 614 | drivers/net/3c501.c | outb(dev->dev_addr[i], ioaddr + i); |
dev_addr | 190 | drivers/net/3c503.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
dev_addr | 1425 | drivers/net/3c505.c | dev->dev_addr[i] = adapter.rx_pcb.data.eth_addr[i]; |
dev_addr | 1433 | drivers/net/3c505.c | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], |
dev_addr | 1434 | drivers/net/3c505.c | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]); |
dev_addr | 378 | drivers/net/3c507.c | dev->dev_addr[i] = inb(ioaddr + i); |
dev_addr | 379 | drivers/net/3c507.c | printk(" %02x", dev->dev_addr[i]); |
dev_addr | 718 | drivers/net/3c507.c | memcpy((char*)dev->mem_start+SA_OFFSET, dev->dev_addr, |
dev_addr | 719 | drivers/net/3c507.c | sizeof(dev->dev_addr)); |
dev_addr | 120 | drivers/net/3c509.c | short *phys_addr = (short *)dev->dev_addr; |
dev_addr | 237 | drivers/net/3c509.c | printk(" %2.2x", dev->dev_addr[i]); |
dev_addr | 330 | drivers/net/3c509.c | outb(dev->dev_addr[i], ioaddr + i); |
dev_addr | 654 | drivers/net/8390.c | outb_p(dev->dev_addr[i], e8390_base + EN1_PHYS + i); |
dev_addr | 126 | drivers/net/ac3200.c | dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i); |
dev_addr | 298 | drivers/net/apricot.c | memcpy (lp->eth_addr, dev->dev_addr, 6); |
dev_addr | 724 | drivers/net/apricot.c | printk(" %2.2X", dev->dev_addr[i] = eth_addr[i]); |
dev_addr | 584 | drivers/net/arcnet.c | dev->dev_addr[0]=lp->arcnum; |
dev_addr | 2013 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
dev_addr | 2100 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
dev_addr | 221 | drivers/net/at1700.c | ((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val); |
dev_addr | 241 | drivers/net/at1700.c | outb(dev->dev_addr[i], ioaddr + 8 + i); |
dev_addr | 331 | drivers/net/at1700.c | outb(dev->dev_addr[i], ioaddr + 8 + i); |
dev_addr | 218 | drivers/net/atp.c | dev->irq, dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], |
dev_addr | 219 | drivers/net/atp.c | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]); |
dev_addr | 273 | drivers/net/atp.c | ((unsigned short *)dev->dev_addr)[i] = |
dev_addr | 349 | drivers/net/atp.c | write_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]); |
dev_addr | 585 | drivers/net/atp.c | write_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]); |
dev_addr | 620 | drivers/net/atp.c | if (read_cmd_byte(ioaddr, PAR0 + i) != atp_timed_dev->dev_addr[i]) |
dev_addr | 623 | drivers/net/atp.c | write_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]); |
dev_addr | 634 | drivers/net/atp.c | write_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]); |
dev_addr | 575 | drivers/net/de4x5.c | printk("%2.2x:", dev->dev_addr[i]); |
dev_addr | 577 | drivers/net/de4x5.c | printk("%2.2x,\n", dev->dev_addr[i]); |
dev_addr | 786 | drivers/net/de4x5.c | printk("%2.2x:",(short)dev->dev_addr[i]); |
dev_addr | 1187 | drivers/net/de4x5.c | } else if ((*(s32 *)&buf[0] == *(s32 *)&dev->dev_addr[0]) && |
dev_addr | 1188 | drivers/net/de4x5.c | (*(s16 *)&buf[4] == *(s16 *)&dev->dev_addr[4])) { |
dev_addr | 2123 | drivers/net/de4x5.c | *buf++ = dev->dev_addr[i]; |
dev_addr | 2126 | drivers/net/de4x5.c | *buf++ = dev->dev_addr[i]; |
dev_addr | 2272 | drivers/net/de4x5.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 2275 | drivers/net/de4x5.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 2277 | drivers/net/de4x5.c | dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; |
dev_addr | 2278 | drivers/net/de4x5.c | dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; |
dev_addr | 2282 | drivers/net/de4x5.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 2284 | drivers/net/de4x5.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 2426 | drivers/net/de4x5.c | *(pa + i) = dev->dev_addr[i]; /* Host address */ |
dev_addr | 2432 | drivers/net/de4x5.c | *(pa + (i&1)) = dev->dev_addr[i]; |
dev_addr | 2506 | drivers/net/de4x5.c | tmp.addr[i] = dev->dev_addr[i]; |
dev_addr | 2521 | drivers/net/de4x5.c | dev->dev_addr[i] = tmp.addr[i]; |
dev_addr | 2664 | drivers/net/de4x5.c | tmp.addr[j++] = dev->dev_addr[i]; |
dev_addr | 675 | drivers/net/de600.c | dev->dev_addr[i] = de600_read_byte(READ_DATA, dev); |
dev_addr | 680 | drivers/net/de600.c | if ((dev->dev_addr[1] == 0xde) && (dev->dev_addr[2] == 0x15)) { |
dev_addr | 682 | drivers/net/de600.c | dev->dev_addr[0] = 0x00; |
dev_addr | 683 | drivers/net/de600.c | dev->dev_addr[1] = 0x80; |
dev_addr | 684 | drivers/net/de600.c | dev->dev_addr[2] = 0xc8; |
dev_addr | 685 | drivers/net/de600.c | dev->dev_addr[3] &= 0x0f; |
dev_addr | 686 | drivers/net/de600.c | dev->dev_addr[3] |= 0x70; |
dev_addr | 700 | drivers/net/de600.c | printk(", Ethernet Address: %02X", dev->dev_addr[0]); |
dev_addr | 702 | drivers/net/de600.c | printk(":%02X",dev->dev_addr[i]); |
dev_addr | 772 | drivers/net/de600.c | de600_put_byte(dev->dev_addr[i]); |
dev_addr | 746 | drivers/net/de620.c | de620_set_register(W_PAR0 + i, dev->dev_addr[i]); |
dev_addr | 840 | drivers/net/de620.c | dev->dev_addr[0] = nic_data.NodeID[0]); |
dev_addr | 842 | drivers/net/de620.c | printk(":%2.2X", dev->dev_addr[i] = nic_data.NodeID[i]); |
dev_addr | 483 | drivers/net/depca.c | printk("%2.2x:", dev->dev_addr[i]); |
dev_addr | 485 | drivers/net/depca.c | printk("%2.2x", dev->dev_addr[i]); |
dev_addr | 799 | drivers/net/depca.c | lp->init_block.phys_addr[i] = dev->dev_addr[i]; |
dev_addr | 983 | drivers/net/depca.c | } else if ((*(s16 *)&buf[0] == *(s16 *)&dev->dev_addr[0]) && |
dev_addr | 984 | drivers/net/depca.c | (*(s32 *)&buf[2] == *(s32 *)&dev->dev_addr[2])) { |
dev_addr | 1547 | drivers/net/depca.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 1549 | drivers/net/depca.c | dev->dev_addr[i++] = (u_char) tmp; |
dev_addr | 1672 | drivers/net/depca.c | tmp.addr[i] = dev->dev_addr[i]; |
dev_addr | 1685 | drivers/net/depca.c | dev->dev_addr[i] = tmp.addr[i]; |
dev_addr | 134 | drivers/net/e2100.c | unsigned char *station_addr = dev->dev_addr; |
dev_addr | 358 | drivers/net/eepro.c | dev->dev_addr[i] = ((unsigned char *) station_addr)[5-i]; |
dev_addr | 359 | drivers/net/eepro.c | printk("%c%02x", i ? ':' : ' ', dev->dev_addr[i]); |
dev_addr | 514 | drivers/net/eepro.c | if (dev->dev_addr[0] == SA_ADDR0 && |
dev_addr | 515 | drivers/net/eepro.c | dev->dev_addr[1] == SA_ADDR1 && |
dev_addr | 516 | drivers/net/eepro.c | dev->dev_addr[2] == SA_ADDR2) |
dev_addr | 537 | drivers/net/eepro.c | outb(dev->dev_addr[i] , ioaddr + I_ADD_REG0 + i); |
dev_addr | 840 | drivers/net/eepro.c | eaddrs = (unsigned short *) dev->dev_addr; |
dev_addr | 370 | drivers/net/eexpress.c | dev->dev_addr[i] = ((unsigned char*)station_addr)[5-i]; |
dev_addr | 371 | drivers/net/eexpress.c | printk(" %02x", dev->dev_addr[i]); |
dev_addr | 773 | drivers/net/eexpress.c | outsw(ioaddr, dev->dev_addr, 3); |
dev_addr | 473 | drivers/net/ewrk3.c | printk("%2.2x:", dev->dev_addr[i] = |
dev_addr | 477 | drivers/net/ewrk3.c | printk("%2.2x,\n",dev->dev_addr[i] = eeprom_image[EEPROM_PADDR0 + i]); |
dev_addr | 482 | drivers/net/ewrk3.c | printk("%2.2x:", dev->dev_addr[i] = inb(EWRK3_APROM)); |
dev_addr | 483 | drivers/net/ewrk3.c | outb(dev->dev_addr[i], EWRK3_PAR0 + i); |
dev_addr | 485 | drivers/net/ewrk3.c | printk("%2.2x,\n", dev->dev_addr[i] = inb(EWRK3_APROM)); |
dev_addr | 486 | drivers/net/ewrk3.c | outb(dev->dev_addr[i], EWRK3_PAR0 + i); |
dev_addr | 677 | drivers/net/ewrk3.c | printk("%2.2x:",(short)dev->dev_addr[i]); |
dev_addr | 1078 | drivers/net/ewrk3.c | } else if ((*(long *)&buf[0] == *(long *)&dev->dev_addr[0]) && |
dev_addr | 1079 | drivers/net/ewrk3.c | (*(short *)&buf[4] == *(short *)&dev->dev_addr[4])) { |
dev_addr | 1626 | drivers/net/ewrk3.c | tmp.addr[i] = dev->dev_addr[i]; |
dev_addr | 1645 | drivers/net/ewrk3.c | dev->dev_addr[i] = tmp.addr[i]; |
dev_addr | 165 | drivers/net/hp-plus.c | dev->dev_addr[i] = inval; |
dev_addr | 133 | drivers/net/hp.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
dev_addr | 324 | drivers/net/hp100.c | dev -> dev_addr[ i ] = hp100_inb( LAN_ADDR + i ); |
dev_addr | 398 | drivers/net/hp100.c | hp100_outb( dev -> dev_addr[ i ], MAC_ADDR + i ); |
dev_addr | 101 | drivers/net/ibmtr.c | static void tok_init_card(unsigned long dev_addr); |
dev_addr | 107 | drivers/net/ibmtr.c | void tok_open_adapter(unsigned long dev_addr); |
dev_addr | 308 | drivers/net/ibmtr.c | dev->dev_addr[(j/2)]=ti->hw_address[j]+(ti->hw_address[j-1]<<4); |
dev_addr | 838 | drivers/net/ibmtr.c | printk("%02X%s",dev->dev_addr[i]=encoded_addr[i],(i==TR_ALEN-1) ? "" : ":" ); |
dev_addr | 845 | drivers/net/ibmtr.c | static void tok_init_card(unsigned long dev_addr) { |
dev_addr | 850 | drivers/net/ibmtr.c | struct device *dev=(struct device *)dev_addr; |
dev_addr | 898 | drivers/net/ibmtr.c | void tok_open_adapter(unsigned long dev_addr) { |
dev_addr | 900 | drivers/net/ibmtr.c | struct device *dev=(struct device *)dev_addr; |
dev_addr | 408 | drivers/net/lance.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
dev_addr | 425 | drivers/net/lance.c | lp->init_block.phys_addr[i] = dev->dev_addr[i]; |
dev_addr | 689 | drivers/net/lance.c | lp->init_block.phys_addr[i] = dev->dev_addr[i]; |
dev_addr | 239 | drivers/net/ne.c | dev->dev_addr[i] = SA_prom[i]; |
dev_addr | 315 | drivers/net/ne.c | dev->dev_addr[i] = SA_prom[i]; |
dev_addr | 169 | drivers/net/net_init.c | memcpy(dev->dev_addr, ifr->ifr_hwaddr.sa_data,dev->hard_header_len); |
dev_addr | 354 | drivers/net/ni52.c | dev->dev_addr[i] = inb(dev->base_addr+i); |
dev_addr | 356 | drivers/net/ni52.c | if(dev->dev_addr[0] != NI52_ADDR0 || dev->dev_addr[1] != NI52_ADDR1 |
dev_addr | 357 | drivers/net/ni52.c | || dev->dev_addr[2] != NI52_ADDR2) |
dev_addr | 503 | drivers/net/ni52.c | memcpy((char *)&ias_cmd->iaddr,(char *) dev->dev_addr,ETH_ALEN); |
dev_addr | 213 | drivers/net/ni65.c | station_addr[i] = dev->dev_addr[i] = inb(PORT+L_EBASE+i); |
dev_addr | 357 | drivers/net/ni65.c | p->ib.eaddr[i] = dev->dev_addr[i]; |
dev_addr | 1283 | drivers/net/pi2.c | memcpy(dev->dev_addr, addr, 7); /* addr is an AX.25 shifted ASCII */ |
dev_addr | 1437 | drivers/net/pi2.c | memcpy(dev->dev_addr, ax25_test, 7); |
dev_addr | 847 | drivers/net/plip.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
dev_addr | 943 | drivers/net/plip.c | dev->dev_addr[i] = 0xfc; |
dev_addr | 944 | drivers/net/plip.c | memcpy(&(dev->dev_addr[i]), &dev->pa_addr, sizeof(unsigned long)); |
dev_addr | 292 | drivers/net/seeq8005.c | printk(" %2.2x", dev->dev_addr[i] = SA_prom[i+6]); |
dev_addr | 653 | drivers/net/seeq8005.c | outb(dev->dev_addr[i], SEEQ_BUFFER); |
dev_addr | 760 | drivers/net/sk_g16.c | dev->dev_addr[i] = board->rom[j]; |
dev_addr | 764 | drivers/net/sk_g16.c | if (!(dev->dev_addr[0] == SK_MAC0 && |
dev_addr | 765 | drivers/net/sk_g16.c | dev->dev_addr[1] == SK_MAC1 && |
dev_addr | 766 | drivers/net/sk_g16.c | dev->dev_addr[2] == SK_MAC2) ) |
dev_addr | 777 | drivers/net/sk_g16.c | dev->dev_addr[0], |
dev_addr | 778 | drivers/net/sk_g16.c | dev->dev_addr[1], |
dev_addr | 779 | drivers/net/sk_g16.c | dev->dev_addr[2], |
dev_addr | 780 | drivers/net/sk_g16.c | dev->dev_addr[3], |
dev_addr | 781 | drivers/net/sk_g16.c | dev->dev_addr[4], |
dev_addr | 782 | drivers/net/sk_g16.c | dev->dev_addr[5]); |
dev_addr | 1085 | drivers/net/sk_g16.c | (p->ram)->ib.paddr[i] = dev->dev_addr[i]; |
dev_addr | 179 | drivers/net/skeleton.c | printk(" %2.2x", dev->dev_addr[i] = inb(ioaddr + i)); |
dev_addr | 936 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr, addr, AX25_ADDR_LEN); /* addr is an AX.25 shifted ASCII mac address */ |
dev_addr | 944 | drivers/net/slip.c | memcpy(dev->dev_addr, addr, AX25_ADDR_LEN); |
dev_addr | 1130 | drivers/net/slip.c | memcpy(dev->dev_addr, ax25_test, AX25_ADDR_LEN); /* "" "" "" "" */ |
dev_addr | 142 | drivers/net/smc-ultra.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
dev_addr | 234 | drivers/net/tulip.c | printk(" %2.2x", dev->dev_addr[i] = value); |
dev_addr | 298 | drivers/net/tulip.c | unsigned short *eaddrs = (unsigned short *)dev->dev_addr; |
dev_addr | 706 | drivers/net/tulip.c | eaddrs = (unsigned short *)dev->dev_addr; |
dev_addr | 725 | drivers/net/tulip.c | printk(" %2.2x", dev->dev_addr[i] = ((unsigned char *)addr)[i]); |
dev_addr | 724 | drivers/net/wavelan.c | memcpy(&ias.ias_addr[0], (unsigned char *)&dev->dev_addr[0], sizeof(ias.ias_addr)); |
dev_addr | 941 | drivers/net/wavelan.c | memcpy(&dev->dev_addr[0], &psa.psa_univ_mac_addr[0], WAVELAN_ADDR_SIZE); |
dev_addr | 944 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? " " : ":", dev->dev_addr[i]); |
dev_addr | 120 | drivers/net/wd.c | printk(" %2.2X", dev->dev_addr[i] = inb(ioaddr + 8 + i)); |
dev_addr | 226 | drivers/net/znet.c | printk(" %2.2x", dev->dev_addr[i] = netinfo->netid[i]); |
dev_addr | 722 | drivers/net/znet.c | memcpy(zn.tx_cur, dev->dev_addr, 6); |
dev_addr | 30 | include/asm-sparc/sbus.h | extern inline int sbus_dev_slot(unsigned long dev_addr) |
dev_addr | 32 | include/asm-sparc/sbus.h | return (int) (((dev_addr)-SUN_SBUS_BVADDR)>>25); |
dev_addr | 35 | include/asm-sparc/sbus.h | extern inline unsigned long sbus_dev_offset(unsigned long dev_addr) |
dev_addr | 37 | include/asm-sparc/sbus.h | return (unsigned long) (((dev_addr)-SUN_SBUS_BVADDR)&SBUS_OFF_MASK); |
dev_addr | 115 | include/linux/netdevice.h | unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address */ |
dev_addr | 110 | net/802/tr.c | if(memcmp(trh->daddr, dev->dev_addr, TR_ALEN)) |
dev_addr | 132 | net/appletalk/aarp.c | memcpy(eah->hw_src, dev->dev_addr, ETH_ALEN); |
dev_addr | 194 | net/appletalk/aarp.c | memcpy(eah->hw_src, dev->dev_addr, ETH_ALEN); |
dev_addr | 259 | net/appletalk/aarp.c | memcpy(eah->hw_src, dev->dev_addr, ETH_ALEN); |
dev_addr | 1610 | net/appletalk/ddp.c | ddp_dl->datalink_header(ddp_dl, skb, dev->dev_addr); |
dev_addr | 597 | net/ax25/af_ax25.c | ax25_address dev_addr; |
dev_addr | 603 | net/ax25/af_ax25.c | if (ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
dev_addr | 607 | net/ax25/af_ax25.c | if (arp_query((unsigned char *)&dev_addr, dev->pa_addr, ARPHRD_AX25)) |
dev_addr | 608 | net/ax25/af_ax25.c | if (ax25cmp(addr, &dev_addr) == 0) |
dev_addr | 1262 | net/ax25/af_ax25.c | static int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_addr, struct packet_type *ptype) |
dev_addr | 1294 | net/ax25/af_ax25.c | if (ax25cmp(&dp.calls[dp.lastrepeat + 1], dev_addr) == 0) { |
dev_addr | 1325 | net/ax25/af_ax25.c | if (ax25cmp(&dest, dev_addr) == 0) |
dev_addr | 1509 | net/ax25/af_ax25.c | return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); |
dev_addr | 2059 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
dev_addr | 245 | net/ax25/ax25_route.c | call = (ax25_address *)ax25->device->dev_addr; |
dev_addr | 1146 | net/core/dev.c | memcpy(ifr.old_ifr_hwaddr,dev->dev_addr, MAX_ADDR_LEN); |
dev_addr | 1150 | net/core/dev.c | memcpy(ifr.ifr_hwaddr.sa_data,dev->dev_addr, MAX_ADDR_LEN); |
dev_addr | 108 | net/ethernet/eth.c | memcpy(eth->h_source,dev->dev_addr,dev->addr_len); |
dev_addr | 148 | net/ethernet/eth.c | memcpy(eth->h_source, dev->dev_addr, dev->addr_len); |
dev_addr | 188 | net/ethernet/eth.c | if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) |
dev_addr | 223 | net/ethernet/eth.c | memcpy(sk->ip_hcache_data+6, dev->dev_addr, ETH_ALEN); |
dev_addr | 418 | net/ipv4/arp.c | NULL, dev->dev_addr); |
dev_addr | 744 | net/ipv4/arp.c | arp_send(ARPOP_REPLY,ETH_P_ARP,sip,dev,tip,sha,dev->dev_addr); |
dev_addr | 878 | net/ipv4/arp.c | memcpy(haddr, dev->dev_addr, dev->addr_len); |
dev_addr | 988 | net/ipv4/arp.c | dev->dev_addr); |
dev_addr | 1119 | net/ipv4/arp.c | memcpy(dp, dev->dev_addr, dev->addr_len); |
dev_addr | 219 | net/ipv4/rarp.c | dev->dev_addr); |
dev_addr | 740 | net/ipx/af_ipx.c | memcpy((char *)&(intrfc->if_node[IPX_NODE_LEN-dev->addr_len]), dev->dev_addr, dev->addr_len); |
dev_addr | 815 | net/ipx/af_ipx.c | dev->dev_addr, dev->addr_len); |
dev_addr | 726 | net/netrom/af_netrom.c | source = (ax25_address *)dev->dev_addr; |
dev_addr | 79 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |
dev_addr | 142 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, addr, dev->addr_len); |
dev_addr | 553 | net/netrom/nr_route.c | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM && ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
dev_addr | 679 | net/netrom/nr_route.c | ax25_send_frame(skb, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_neigh->digipeat, nr_neigh->dev); |