/* Setups the receive address registers by setting the base receive address register to the devices MAC address and clearing all the other receive address registers to 0.  */
void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count)
/* Setups the receive address registers by setting the base receive address register to the devices MAC address and clearing all the other receive address registers to 0.  */
void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count)
{
	u32 i;
	u8 mac_addr[ETH_ALEN] = {0};
	e_dbg("Programming MAC Address into RAR[0]\n");
	e1000e_rar_set(hw, hw->mac.addr, 0);
	e_dbg("Clearing RAR[1-%u]\n", rar_count-1);
	for (i = 1; i < rar_count; i++)
		e1000e_rar_set(hw, mac_addr, i);
}