projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6b1bfd
)
igbvf: remove bogus phys_id
author
stephen hemminger
<
[email protected]
>
Tue, 5 Apr 2011 04:26:27 +0000
(
04:26
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Wed, 4 May 2011 19:12:22 +0000
(12:12 -0700)
This device lies about supporting phys_id. Remove it and just
let the upper layer report not supported.
Signed-off-by: Stephen Hemminger <
[email protected]
>
Tested-by: <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/igbvf/ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/igbvf/ethtool.c
b/drivers/net/igbvf/ethtool.c
index 112ae15b2d498e7bc7569cfa8b9c88d0ab3ade4d..b0b14d63dfbf391c10b1ba1905a7f6aee7e6d929 100644
(file)
--- 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,
return -EOPNOTSUPP;
}
-static int igbvf_phys_id(struct net_device *netdev, u32 data)
-{
- return 0;
-}
-
static int igbvf_get_coalesce(struct net_device *netdev,
struct ethtool_coalesce *ec)
{
@@
-527,7
+522,6
@@
static const struct ethtool_ops igbvf_ethtool_ops = {
.self_test = igbvf_diag_test,
.get_sset_count = igbvf_get_sset_count,
.get_strings = igbvf_get_strings,
- .phys_id = igbvf_phys_id,
.get_ethtool_stats = igbvf_get_ethtool_stats,
.get_coalesce = igbvf_get_coalesce,
.set_coalesce = igbvf_set_coalesce,