/* hw - Struct containing variables accessed by shared code  */
int atl1e_read_mac_addr(struct atl1e_hw *hw)
/* hw - Struct containing variables accessed by shared code  */
int atl1e_read_mac_addr(struct atl1e_hw *hw)
{
	int err = 0;
	err = atl1e_get_permanent_address(hw);
	if (err)
		return AT_ERR_EEPROM;
	memcpy(hw->mac_addr, hw->perm_mac_addr, sizeof(hw->perm_mac_addr));
	return 0;
}