diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-04-05 00:26:27 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-04 15:12:22 -0400 |
commit | 97322b3303a1de979b973dc1d0a43091f27258ac (patch) | |
tree | 5a8e53d12860fa14f15fcb64b4eece067056dadc /drivers/net/igbvf | |
parent | f6b1bfd17d42f9dc1d799b7e0eed817ed75005ec (diff) |
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: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/igbvf')
-rw-r--r-- | drivers/net/igbvf/ethtool.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/igbvf/ethtool.c b/drivers/net/igbvf/ethtool.c index 112ae15b2d49..b0b14d63dfbf 100644 --- a/drivers/net/igbvf/ethtool.c +++ b/drivers/net/igbvf/ethtool.c | |||
@@ -391,11 +391,6 @@ static int igbvf_set_wol(struct net_device *netdev, | |||
391 | return -EOPNOTSUPP; | 391 | return -EOPNOTSUPP; |
392 | } | 392 | } |
393 | 393 | ||
394 | static int igbvf_phys_id(struct net_device *netdev, u32 data) | ||
395 | { | ||
396 | return 0; | ||
397 | } | ||
398 | |||
399 | static int igbvf_get_coalesce(struct net_device *netdev, | 394 | static int igbvf_get_coalesce(struct net_device *netdev, |
400 | struct ethtool_coalesce *ec) | 395 | struct ethtool_coalesce *ec) |
401 | { | 396 | { |
@@ -527,7 +522,6 @@ static const struct ethtool_ops igbvf_ethtool_ops = { | |||
527 | .self_test = igbvf_diag_test, | 522 | .self_test = igbvf_diag_test, |
528 | .get_sset_count = igbvf_get_sset_count, | 523 | .get_sset_count = igbvf_get_sset_count, |
529 | .get_strings = igbvf_get_strings, | 524 | .get_strings = igbvf_get_strings, |
530 | .phys_id = igbvf_phys_id, | ||
531 | .get_ethtool_stats = igbvf_get_ethtool_stats, | 525 | .get_ethtool_stats = igbvf_get_ethtool_stats, |
532 | .get_coalesce = igbvf_get_coalesce, | 526 | .get_coalesce = igbvf_get_coalesce, |
533 | .set_coalesce = igbvf_set_coalesce, | 527 | .set_coalesce = igbvf_set_coalesce, |