Thread (32 messages) 32 messages, 6 authors, 2013-06-25

Re: [net-next 3/8] i40e: driver ethtool core

flat view

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2013-06-19 18:40:09

On Thu, 13 Jun 2013 20:55:17 -0700
Jeff Kirsher [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+
+/**
+ * i40e_set_settings - Set Speed and Duplex
+ * @netdev: network interface device structure
+ * @ecmd: ethtool command
+ *
+ * Set speed/duplex per media_types advertised/forced
+ **/
+static int i40e_set_settings(struct net_device *netdev,
+			     struct ethtool_cmd *ecmd)
+{
+	return -EOPNOTSUPP;
+}
+
Stub not needed, if ethtool_ops.set_settings is NULL, then ethtool_set_settings
will do this for you.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit http://communities.intel.com/community/wired
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help