tg3: Allow ethtool to enable/disable loopback.
authorMahesh Bandewar <maheshb@google.com>
Sun, 8 May 2011 06:51:48 +0000 (06:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 22:04:58 +0000 (18:04 -0400)
This patch adds tg3_set_features() to handle loopback mode. Currently the
capability is added for the devices which support internal MAC loopback mode.
So when enabled, it enables internal-MAC loopback.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found