bnx2x: 1G sfp+ module handling
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 20 Jun 2012 19:05:22 +0000 (19:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2012 00:20:32 +0000 (17:20 -0700)
commitdbef807ee890b45f9c9125b665c0dddc993c3d15
tree32ae1e68e7c21e7f780ae6fc981d979d866af7fd
parenta351d497f3367461fc96bf4cb9749bdb163c897e
bnx2x: 1G sfp+ module handling

Automatically lower requested link speed to 1G in case 1G SFP+
module is detected.

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h