Files
linux/drivers/net
David Decotigny 8ae6daca85 ethtool: Call ethtool's get/set_settings callbacks with cleaned data
This makes sure that when a driver calls the ethtool's
get/set_settings() callback of another driver, the data passed to it
is clean. This guarantees that speed_hi will be zeroed correctly if
the called callback doesn't explicitely set it: we are sure we don't
get a corrupted speed from the underlying driver. We also take care of
setting the cmd field appropriately (ETHTOOL_GSET/SSET).

This applies to dev_ethtool_get_settings(), which now makes sure it
sets up that ethtool command parameter correctly before passing it to
drivers. This also means that whoever calls dev_ethtool_get_settings()
does not have to clean the ethtool command parameter. This function
also becomes an exported symbol instead of an inline.

All drivers visible to make allyesconfig under x86_64 have been
updated.

Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-29 14:01:30 -07:00
..
2011-03-05 10:55:57 +01:00
2011-04-17 00:54:51 -07:00
2011-04-17 00:51:40 -07:00
2011-03-31 11:26:23 -03:00
2011-04-17 17:40:25 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 20:16:58 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-11 01:16:23 -08:00
2011-03-31 11:26:23 -03:00
2011-04-15 15:50:41 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 23:04:00 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-04-18 22:59:04 -07:00
2011-04-18 23:03:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
…
2010-12-21 02:16:08 -08:00
…
…
…
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-04-10 18:55:19 -07:00
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2011-04-08 13:03:02 -07:00
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
2011-04-18 22:59:04 -07:00
…
2011-01-27 14:18:34 -08:00
…
2011-04-18 14:19:32 -07:00
…
…
…
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
2011-03-18 21:53:03 -07:00
2011-04-15 15:50:41 -07:00
2011-04-15 15:50:41 -07:00
2011-04-17 17:47:36 -07:00
2011-04-17 17:47:36 -07:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
…
2010-12-21 02:16:08 -08:00
…
…
…
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
…
2011-01-03 12:43:10 -08:00
2011-04-12 14:50:45 -07:00
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
2011-04-10 18:55:20 -07:00
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
…
2011-04-13 11:50:08 -07:00
…
…
…
…
2011-04-17 17:40:24 -07:00
2011-03-15 19:38:03 -07:00
…
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
…
2011-04-18 22:59:04 -07:00
…
2010-12-21 02:16:08 -08:00
…
2010-12-21 02:16:08 -08:00
…
…
…
2011-04-17 17:47:35 -07:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-27 13:52:22 -07:00
…
…
2011-04-18 23:03:58 -07:00
…
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
2011-04-12 14:50:42 -07:00
…
…
…
2011-01-25 22:41:55 -08:00
2011-03-31 11:26:23 -03:00
…
…
…
…
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
2011-04-17 17:47:33 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-20 01:30:45 -07:00
2011-04-17 17:47:34 -07:00
…
2011-03-31 11:26:23 -03:00
2011-04-01 20:56:30 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00