]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82e2c06e1fb1b418af590ab35ad10a5685aec33e
treeb09c7d750b47b5fdd5e69f30dcd2f6377c543ada
parentafe64254f68da1d8a4e966852141c7a2e46ff211
tg3: Allow ethtool to enable/disable loopback.

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>
drivers/net/tg3.c