From: Yuval Mintz Date: Mon, 17 Aug 2015 05:28:25 +0000 (+0300) Subject: bnx2: Fix bandwidth allocation for some MF modes X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da3cc2da7c08dc1f4371a4cc2eb83b22a0cf83a8;p=pandora-kernel.git bnx2: Fix bandwidth allocation for some MF modes Management firmware tells driver in case bandwidth configuration for a specific function exists, but [regretably] the same field has different meanings depending on the multi-function mode - it can either be a percentile value or an actual speed. For newer multi-function modes current logic is incorrect - driver understands values as actual speeds instead of percentages, causing the resulting chip configuration to be incorrect. Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller --- Reading git-diff-tree failed