Home
last modified time | relevance | path

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

/u-boot/board/nvidia/p2771-0000/
A Dp2771-0000.c65 uint8_t mac[ETH_ALEN], local_mac[ETH_ALEN]; in ft_mac_address_setup() local
69 err = cboot_get_ethaddr(cboot_fdt, local_mac); in ft_mac_address_setup()
71 memset(local_mac, 0, ETH_ALEN); in ft_mac_address_setup()
85 if (is_valid_ethaddr(local_mac)) { in ft_mac_address_setup()
86 err = fdt_setprop(fdt, offset, "local-mac-address", local_mac, in ft_mac_address_setup()
89 debug("Local MAC address set: %pM\n", local_mac); in ft_mac_address_setup()
93 if (memcmp(local_mac, mac, ETH_ALEN) != 0) { in ft_mac_address_setup()
/u-boot/board/nvidia/p2371-2180/
A Dp2371-2180.c89 uint8_t mac[ETH_ALEN], local_mac[ETH_ALEN]; in ft_mac_address_setup() local
93 err = cboot_get_ethaddr(cboot_fdt, local_mac); in ft_mac_address_setup()
95 memset(local_mac, 0, ETH_ALEN); in ft_mac_address_setup()
109 if (is_valid_ethaddr(local_mac)) { in ft_mac_address_setup()
110 err = fdt_setprop(fdt, offset, "local-mac-address", local_mac, in ft_mac_address_setup()
113 debug("Local MAC address set: %pM\n", local_mac); in ft_mac_address_setup()
117 if (memcmp(local_mac, mac, ETH_ALEN) != 0) { in ft_mac_address_setup()
/u-boot/board/nvidia/p3450-0000/
A Dp3450-0000.c88 uint8_t mac[ETH_ALEN], local_mac[ETH_ALEN]; in ft_mac_address_setup() local
92 err = cboot_get_ethaddr(cboot_fdt, local_mac); in ft_mac_address_setup()
94 memset(local_mac, 0, ETH_ALEN); in ft_mac_address_setup()
108 if (is_valid_ethaddr(local_mac)) { in ft_mac_address_setup()
109 err = fdt_setprop(fdt, offset, "local-mac-address", local_mac, in ft_mac_address_setup()
112 debug("Local MAC address set: %pM\n", local_mac); in ft_mac_address_setup()
116 if (memcmp(local_mac, mac, ETH_ALEN) != 0) { in ft_mac_address_setup()

Completed in 4 milliseconds