/* Reads the adapter's MAC address from the EEPROM hw - Struct containing variables accessed by shared code  */
static s32 atl1_read_mac_addr(struct atl1_hw *hw)
/* Reads the adapter's MAC address from the EEPROM hw - Struct containing variables accessed by shared code  */
static s32 atl1_read_mac_addr(struct atl1_hw *hw)
{
	u16 i;
	if (atl1_get_permanent_address(hw))
		random_ether_addr(hw->perm_mac_addr);
	for (i = 0; i < ETH_ALEN; i++)
		hw->mac_addr[i] = hw->perm_mac_addr[i];
	return 0;
}