diff options
author | Nikolay Aleksandrov <naleksan@redhat.com> | 2012-09-05 04:11:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-05 17:40:07 -0400 |
commit | c6c13965f4ffca6163af0c9419095aedc103648c (patch) | |
tree | 1c23b7c0dacd86dcde7835070504abb4f0e6caef /drivers/infiniband/hw/cxgb4/qp.c | |
parent | Revert "usbnet: drop unneeded check for NULL" (diff) | |
download | linux-dev-c6c13965f4ffca6163af0c9419095aedc103648c.tar.xz linux-dev-c6c13965f4ffca6163af0c9419095aedc103648c.zip |
net: add unknown state to sysfs NIC duplex export
Currently when the NIC duplex state is DUPLEX_UNKNOWN it is exported as
full through sysfs, this patch adds support for DUPLEX_UNKNOWN. It is
handled the same way as in ethtool.
Signed-off-by: Nikolay Aleksandrov <naleksan@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/qp.c')
0 files changed, 0 insertions, 0 deletions