bnx2x: Fix Duplex setting for 54618se
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 1 Jan 2014 09:06:43 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:09:47 +0000 (22:09 -0500)
commita429ec239cbc42dd3b2bc9933745103ca71d2b9d
tree6af84f938d02336d40c089a99821d31f85f81e22
parente803d33a32213f2c28456faaa62b2a88f91de2ea
bnx2x: Fix Duplex setting for 54618se

BCM54618SE is used to advertise half-duplex even if HD was not requested by the
user. This change makes the legacy speed/duplex advertisement for this PHY
exactly according to the requested speed and duplex.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c