From: Ravikumar Nelavelli Date: Fri, 30 May 2014 13:36:24 +0000 (+0530) Subject: be2net: fixup TX-rate setting code for Skyhawk-R X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~121^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f77ba73533ab9ae3845f4c7439d340dcafef7ad;p=pandora-kernel.git be2net: fixup TX-rate setting code for Skyhawk-R Skyhawk-R FW supports TX-rate setting only as a % value of the link speed, set via the SET_PROFILE_CONFIG cmd. This patch makes the necessary changes to the FW cmd descriptors to support the above change and also introduces checks in be_set_vf_tx_rate() to allow only discrete values (that map to % of the link-speed). Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed