From: Vasundhara Volam Date: Wed, 12 Feb 2014 10:39:25 +0000 (+0530) Subject: be2net: refactor multi-channel config code for Skyhawk-R chip X-Git-Tag: v3.15-rc1~113^2~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f93f160b5a3546b6d3143894f63a326442071e48;p=pandora-kernel.git be2net: refactor multi-channel config code for Skyhawk-R chip Currently multi-channel configuration is read via the QUERY_FW_CONFIG cmd. This method has been deprecated by the Skyhawk-R FW. Instead, GET_PROFILE_CONFIG::port-desc must be used to query this configuration. This patch also: a) introduces a few macros to identify certain categories of multi-channel configs 2) re-factors the be_cmd_set_profile_config() code to be able to read any kind of desc (and not just the nic-desc.) Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: Somnath Kotur Signed-off-by: David S. Miller --- Reading git-diff-tree failed