mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
intel: legacy: Partial revert of field get conversion
Refactoring of the field get conversion introduced a regression in the
legacy Wake On Lan from a magic packet with i219 devices. Rx address
copied not correctly from MAC to PHY with FIELD_GET macro.
Fixes: b9a4525450
("intel: legacy: field get conversion")
Suggested-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
ef27f655b4
commit
ba54b1a276
@ -2559,7 +2559,7 @@ void e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw)
|
||||
hw->phy.ops.write_reg_page(hw, BM_RAR_H(i),
|
||||
(u16)(mac_reg & 0xFFFF));
|
||||
hw->phy.ops.write_reg_page(hw, BM_RAR_CTRL(i),
|
||||
FIELD_GET(E1000_RAH_AV, mac_reg));
|
||||
(u16)((mac_reg & E1000_RAH_AV) >> 16));
|
||||
}
|
||||
|
||||
e1000_disable_phy_wakeup_reg_access_bm(hw, &phy_reg);
|
||||
|
Loading…
Reference in New Issue
Block a user