From: Matt Carlson Date: Wed, 16 Nov 2011 23:36:59 +0000 (-0500) Subject: net: Add ethtool to mii advertisment conversion helpers X-Git-Tag: v3.3-rc1~182^2~564 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28011cf19b75df9d3f35489a7599a97ec0b3f1a0;p=pandora-kernel.git net: Add ethtool to mii advertisment conversion helpers Translating between ethtool advertisement settings and MII advertisements are common operations for ethernet drivers. This patch adds a set of helper functions that implements the conversion. The patch then modifies a couple of the drivers to use the new functions. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed