bnx2x: Fix 848xx duplex settings
authorYaniv Rosner <yanivr@broadcom.com>
Sun, 22 Sep 2013 11:59:26 +0000 (14:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Sep 2013 06:10:20 +0000 (02:10 -0400)
commit343f7dc4301e554d547c28f9583c8a193f7abb88
treebb3621d90a61aac59ad7f184f145db66346eec90
parent869952e350411a769f339da913ec73c4d3f18ec2
bnx2x: Fix 848xx duplex settings

On 848xx PHY (10G-baseT), half-duplex was always advertised regardless of the
actual configuration. Change the 848xx duplex settings to advertise half-duplex
only if configured.

Signed-off-by: Yaniv Rosner <yanivr@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