From: Yaniv Rosner Date: Tue, 28 Jan 2014 15:28:51 +0000 (+0200) Subject: bnx2x: Fix generic option settings X-Git-Tag: v3.14-rc1~59^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f9e6f57eb91cafcee4d8f185487bce6787957b;p=pandora-kernel.git bnx2x: Fix generic option settings When user tried to change generic options using "ethtool -s" command, while SFP module is plugged out or during module detection, the command would have failed with "Unsupported port type" message. The fix is to ignore the port option in case it's same as the current port configuration. Signed-off-by: Yaniv Rosner Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed