Home
last modified time | relevance | path

Searched refs:macid0_val (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/net/
Dax88180.c670 unsigned short macid0_val, macid1_val, macid2_val; in ax88180_read_mac_addr() local
686 macid0_val = INW (dev, MACID0); in ax88180_read_mac_addr()
690 if (((macid0_val | macid1_val | macid2_val) != 0) && in ax88180_read_mac_addr()
691 ((macid0_val & 0x01) == 0)) { in ax88180_read_mac_addr()
692 dev->enetaddr[0] = (unsigned char)macid0_val; in ax88180_read_mac_addr()
693 dev->enetaddr[1] = (unsigned char)(macid0_val >> 8); in ax88180_read_mac_addr()