ARM: dts: sun7i: bananapi-m1-plus: Reindent whole file using tabs
[deliverable/linux.git] / include / linux / ethtool.h
index e2b7bf27c03ef3ea8ec089a02fc735b78b5c0072..9ded8c6d8176b909cf68da0e125eef4441b7c9a9 100644 (file)
@@ -150,6 +150,13 @@ extern int
 __ethtool_get_link_ksettings(struct net_device *dev,
                             struct ethtool_link_ksettings *link_ksettings);
 
+void ethtool_convert_legacy_u32_to_link_mode(unsigned long *dst,
+                                            u32 legacy_u32);
+
+/* return false if src had higher bits set. lower bits always updated. */
+bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32,
+                                    const unsigned long *src);
+
 /**
  * struct ethtool_ops - optional netdev operations
  * @get_settings: DEPRECATED, use %get_link_ksettings/%set_link_ksettings
This page took 0.024727 seconds and 5 git commands to generate.