commit | f21105df0f999f468f1f03e1ff53fe055e149341 | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Tue Aug 21 11:45:08 2012 -0700 |
committer | David Daney <david.daney@cavium.com> | Fri Aug 31 11:49:40 2012 -0700 |
tree | 9d5024d59b997a50e42f4341df3a497356840a28 | |
parent | 3d305850261dfbf815eb7a0f0b768d4e1a11485a [diff] |
netdev: octeon_mgmt: Improve ethtool_ops. Correctly show no link when the interface is down, and return -EOPNOTSUPP for things that don't work. This quiets the ethtool program when run on down interfaces. Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: David S. Miller <davem@davemloft.net>