Lines Matching defs:mac
82 #define DEV_HAS_CORRECT_MACADDR 0x0004000 /* device supports correct mac address order */
466 /* rx/tx mac addr + type + vlan + align + slack*/
3160 u32 mac[2];
3162 mac[0] = (dev->dev_addr[0] << 0) + (dev->dev_addr[1] << 8) +
3164 mac[1] = (dev->dev_addr[4] << 0) + (dev->dev_addr[5] << 8);
3166 writel(mac[0], base + NvRegMacAddrA);
3167 writel(mac[1], base + NvRegMacAddrB);
3193 /* set mac address */
5887 /* read the mac address */
5892 /* check the workaround bit for correct mac address order */
5895 /* mac address is already in correct order */
5903 /* mac address is already in correct order */
5911 * Set orig mac address back to the reversed version.
5919 /* need to reverse mac address to correct order */
5928 "%s: set workaround bit for reversed mac addr\n",
5934 * Bad mac address. At least one bios sets the mac address
5945 /* set mac address */
6027 /* management unit running on the mac? */