Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f1d7210 authored by Steve Wise's avatar Steve Wise Committed by David S. Miller
Browse files

cxgb4: use the correct max size for firmware flash



The wrong max fw size was being used and causing false
"too big" errors running ethtool -f.

Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8564ae09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -682,7 +682,7 @@ enum {
	SF_RD_ID        = 0x9f,       /* read ID */
	SF_ERASE_SECTOR = 0xd8,       /* erase sector */

	FW_MAX_SIZE = 512 * 1024,
	FW_MAX_SIZE = 16 * SF_SEC_SIZE,
};

/**