bnx2x: Add RJ45 SFP module detection
authorYaniv Rosner <yanivr@broadcom.com>
Mon, 11 Mar 2013 05:17:48 +0000 (05:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 11:54:24 +0000 (07:54 -0400)
commitb807c74855ebc3d686a323c13843146fac200f41
treea9f1c0e2d146b47ebe7c59497b1f8ca8836c8714
parentab5777d7483026c9bf795eba573c22ef8d2e32cd
bnx2x: Add RJ45 SFP module detection

Add RJ45 SFP module detection. In case the user set 10G link speed, and the
module doesn't support it, then force the speed to 1G and notify the user.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@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_link.c