Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/intel/e1000e/netdev.c Minor conflict in e1000e, a line that got fixed in 'net' has been removed in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
e5f2ef7ab4
335 changed files with 2693 additions and 1615 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/mdio.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
#include "e1000.h"
|
||||
|
||||
|
@ -2236,7 +2237,19 @@ static int e1000e_get_ts_info(struct net_device *netdev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int e1000e_ethtool_begin(struct net_device *netdev)
|
||||
{
|
||||
return pm_runtime_get_sync(netdev->dev.parent);
|
||||
}
|
||||
|
||||
static void e1000e_ethtool_complete(struct net_device *netdev)
|
||||
{
|
||||
pm_runtime_put_sync(netdev->dev.parent);
|
||||
}
|
||||
|
||||
static const struct ethtool_ops e1000_ethtool_ops = {
|
||||
.begin = e1000e_ethtool_begin,
|
||||
.complete = e1000e_ethtool_complete,
|
||||
.get_settings = e1000_get_settings,
|
||||
.set_settings = e1000_set_settings,
|
||||
.get_drvinfo = e1000_get_drvinfo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue