Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[realtek] Clear bit 24 of RCR
On an Asus Z87-K motherboard with an onboard 8168 NIC, booting into Windows 7 and then warm rebooting into iPXE results in a broken RX datapath: packets can be transmitted successfully but garbage is received. A cold reboot clears the problem. A dump of the PHY registers reveals only one difference: in the failure case the bits ADVERTISE_PAUSE_CAP and ADVERTISE_PAUSE_ASYM are cleared. Explicitly setting these bits does not fix the problem. A dump of the MAC registers reveals a few differences, of which the most obvious culprit is the undocumented bit 24 of the Receive Configuration Register (RCR), which is set in the failure case. Explicitly clearing this bit does fix the problem. Reported-by: Sebastian Nielsen <firstname.lastname@example.org> Reported-by: Oliver Rath <email@example.com> Debugged-by: Sebastian Nielsen <firstname.lastname@example.org> Tested-by: Sebastian Nielsen <email@example.com> Signed-off-by: Michael Brown <firstname.lastname@example.org>
- Loading branch information
Showing with 3 additions and 2 deletions.