]> git.karo-electronics.de Git - linux-beck.git/commit
bnx2x: Allow ethtool to enable/disable loopback.
authorMahesh Bandewar <maheshb@google.com>
Fri, 13 May 2011 15:08:49 +0000 (15:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2011 17:51:45 +0000 (13:51 -0400)
commit538dd2e3976a7c572ee927d6bbebe01bf4d6f128
treef65529f5de1bf3c3edece04684311e78f2fcd8ab
parentc5be24ff62d238a3fdd5d15461b420cd72e78a14
bnx2x: Allow ethtool to enable/disable loopback.

This patch updates the bnx2x_set_features() to handle loopback mode.
When enabled; it sets internal-MAC loopback.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_main.c