Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97322b33 authored by stephen hemminger's avatar stephen hemminger Committed by Jeff Kirsher
Browse files

igbvf: remove bogus phys_id



This device lies about supporting phys_id. Remove it and just
let the upper layer report not supported.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Tested-by: default avatar <jeffrey.e.pieper@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent f6b1bfd1
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -391,11 +391,6 @@ static int igbvf_set_wol(struct net_device *netdev,
	return -EOPNOTSUPP;
	return -EOPNOTSUPP;
}
}


static int igbvf_phys_id(struct net_device *netdev, u32 data)
{
	return 0;
}

static int igbvf_get_coalesce(struct net_device *netdev,
static int igbvf_get_coalesce(struct net_device *netdev,
                              struct ethtool_coalesce *ec)
                              struct ethtool_coalesce *ec)
{
{
@@ -527,7 +522,6 @@ static const struct ethtool_ops igbvf_ethtool_ops = {
	.self_test		= igbvf_diag_test,
	.self_test		= igbvf_diag_test,
	.get_sset_count		= igbvf_get_sset_count,
	.get_sset_count		= igbvf_get_sset_count,
	.get_strings		= igbvf_get_strings,
	.get_strings		= igbvf_get_strings,
	.phys_id		= igbvf_phys_id,
	.get_ethtool_stats	= igbvf_get_ethtool_stats,
	.get_ethtool_stats	= igbvf_get_ethtool_stats,
	.get_coalesce		= igbvf_get_coalesce,
	.get_coalesce		= igbvf_get_coalesce,
	.set_coalesce		= igbvf_set_coalesce,
	.set_coalesce		= igbvf_set_coalesce,