]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: ethtool publishes link partners speed and FC
authorMintz Yuval <yuvalmin@broadcom.com>
Wed, 15 Feb 2012 02:10:24 +0000 (02:10 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 14:46:41 +0000 (22:46 +0800)
commit1dc9d591f54f14b18bbcb76d6c227a88a1a3d051
tree876c1e0dccd3c285717de7d6f4010388e86ebe02
parent58c8cd59bf1b7834bf03de7bd765a434d5365278
bnx2x: ethtool publishes link partners speed and FC

Following the changes in the ethtool source code, this patch enables
the bnx2x driver to publish the Link partner's capabilities s, when ethtool
is used on an interface which completed autoneg.

(cherry picked from commit 9e7e8399c5d3c4dfaf84324a4a6b07a701d3e482)
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_ethtool.c
drivers/net/bnx2x/bnx2x_link.c
drivers/net/bnx2x/bnx2x_reg.h