commit | 28011cf19b75df9d3f35489a7599a97ec0b3f1a0 | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Wed Nov 16 18:36:59 2011 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 16 18:36:59 2011 -0500 |
tree | cc058e15191db60adb45e426fc3d328e9d246b41 | |
parent | f85fa279138489543206381883c8f67ef94aa912 [diff] |
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 <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>