Skip to content
Snippets Groups Projects
Commit 76f8cdb2 authored by York Sun's avatar York Sun Committed by Tom Rini
Browse files

net/e1000: Fix EEPROM access error


Commit 95186063 may have changed
the logic unintentially from "if (!(swfw_sync & (fwmask | swmask)))"
to "if ((swfw_sync & swmask) && !(swfw_sync & fwmask))". This change
breaks some e1000 NIC with a message "ERROR: Unable to read EEPROM!".

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
CC: Marek Vasut <marex@denx.de>
CC: Tim Harvey <tharvey@gateworks.com>
Acked-by: default avatarMarcel Ziswiler <marcel@ziswiler.com>
parent 99819458
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment