On 24.06.2025 21:34, Jacek Kowalski wrote:

You are right that I'm comparing the wrong value. But it is only a matter of variable name:

Ah, yes, you're right. I missed the fact that nvm_data will hold the checksum word at the end of the for loop.

-    if (hw->mac.type == e1000_pch_tgp && checksum ==
(u16)NVM_SUM_FACTORY_DEFAULT) {
+    if (hw->mac.type == e1000_pch_tgp && nvm_data ==
(u16)NVM_SUM_FACTORY_DEFAULT) {

Could you check my change with this modification?

It works with this change.

Reply via email to