mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
bnx2x: Fix no link on 577xx 10G-baseT
Since the Warpcore supports various link types, need to set only the correct supported modes for XFI which is the serdes interface for the 10G-baseT PHY. Signed-off-by: Yaniv Rosner <[email protected]> Signed-off-by: Barak Witkowski <[email protected]> Signed-off-by: Dmitry Kravkov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e82041df5d
commit
03c31488a0
1 changed files with 5 additions and 0 deletions
|
|
@ -11528,6 +11528,11 @@ static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port,
|
|||
phy->media_type = ETH_PHY_BASE_T;
|
||||
break;
|
||||
case PORT_HW_CFG_NET_SERDES_IF_XFI:
|
||||
phy->supported &= (SUPPORTED_1000baseT_Full |
|
||||
SUPPORTED_10000baseT_Full |
|
||||
SUPPORTED_FIBRE |
|
||||
SUPPORTED_Pause |
|
||||
SUPPORTED_Asym_Pause);
|
||||
phy->media_type = ETH_PHY_XFP_FIBER;
|
||||
break;
|
||||
case PORT_HW_CFG_NET_SERDES_IF_SFI:
|
||||
|
|
|
|||
Loading…
Reference in a new issue