Lines Matching defs:dev_addr
1428 unsigned char *e = &hp->dev->dev_addr[0];
2725 dev->dev_addr[i] = macaddr[i];
2734 memcpy(dev->dev_addr, addr, ETH_ALEN);
2736 memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
2865 printk("%pM\n", dev->dev_addr);
2925 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, int index, unsigned char *dev_addr)
2947 dev_addr[i] = readb(p + i);
2955 static void get_hme_mac_nonsparc(struct pci_dev *pdev, unsigned char *dev_addr)
2969 find_eth_addr_in_vpd(p, (64 * 1024), index, dev_addr);
2976 dev_addr[0] = 0x08;
2977 dev_addr[1] = 0x00;
2978 dev_addr[2] = 0x20;
2979 get_random_bytes(&dev_addr[3], 3);
3071 dev->dev_addr[i] = macaddr[i];
3082 memcpy(dev->dev_addr, addr, ETH_ALEN);
3084 memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
3087 get_hme_mac_nonsparc(pdev, &dev->dev_addr[0]);
3195 printk("%pM\n", dev->dev_addr);