Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bnx2x: allow BCM84833 phy to advertise 100Base-T speeds

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>

authored by

Mintz Yuval and committed by
David S. Miller
10bd1f24 82fa848c

+5
+5
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
··· 9298 9298 SPEED_AUTO_NEG; 9299 9299 bp->port.advertising[idx] |= 9300 9300 bp->port.supported[idx]; 9301 + if (bp->link_params.phy[EXT_PHY1].type == 9302 + PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833) 9303 + bp->port.advertising[idx] |= 9304 + (SUPPORTED_100baseT_Half | 9305 + SUPPORTED_100baseT_Full); 9301 9306 } else { 9302 9307 /* force 10G, no AN */ 9303 9308 bp->link_params.req_line_speed[idx] =