Searched refs:num_macs (Results 1 – 2 of 2) sorted by relevance
427 int num_macs; in board_ti_set_ethaddr() local440 num_macs = mac2 - mac1 + 1; in board_ti_set_ethaddr()441 if (num_macs <= 0) in board_ti_set_ethaddr()444 if (num_macs > 50) { in board_ti_set_ethaddr()446 __func__, num_macs); in board_ti_set_ethaddr()447 num_macs = 50; in board_ti_set_ethaddr()450 for (i = 0; i < num_macs; i++) { in board_ti_set_ethaddr()
1037 int num_macs; in board_eth_init() local1097 num_macs = mac2 - mac1 + 1; in board_eth_init()1099 if (num_macs > 0 && num_macs <= 50) { in board_eth_init()1100 for (i = 0; i < num_macs; i++) { in board_eth_init()