commit | 4303a83bff0354dc4a67d4a54be3f76f6e1bbb27 | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Fri Oct 17 13:44:06 2014 -0700 |
committer | Tom Rini <trini@ti.com> | Mon Oct 27 17:54:09 2014 -0400 |
tree | efcc487ebcfe8916a8b9d54707c990713010cdc3 | |
parent | 9b4aa24b7d22f5a0452474ea48d72854c94fccf6 [diff] |
net/e1000: Fix EEPROM access error Commit 951860634fdb557bbb58e0f99215391bc0c29779 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: York Sun <yorksun@freescale.com> CC: Marek Vasut <marex@denx.de> CC: Tim Harvey <tharvey@gateworks.com> Acked-by: Marcel Ziswiler <marcel@ziswiler.com>