netdev: octeon_mgmt: Improve ethtool_ops.
authorDavid Daney <david.daney@cavium.com>
Tue, 21 Aug 2012 18:45:08 +0000 (11:45 -0700)
committerDavid Daney <david.daney@cavium.com>
Fri, 31 Aug 2012 18:49:40 +0000 (11:49 -0700)
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>

No differences found