projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cxgb4vf: Fix ethtool get_settings for VF driver
[cascardo/linux.git]
/
drivers
/
net
/
ethernet
/
chelsio
/
cxgb4vf
/
t4vf_common.h
diff --git
a/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
b/drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
index
8d3237f
..
b9debb4
100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
+++ b/
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
@@
-230,7
+230,7
@@
struct adapter_params {
static inline bool is_10g_port(const struct link_config *lc)
{
- return (lc->supported &
SUPPORTED_10000baseT_Full
) != 0;
+ return (lc->supported &
FW_PORT_CAP_SPEED_10G
) != 0;
}
static inline bool is_x_10g_port(const struct link_config *lc)