Skip to content

Commit e79418f

Browse files
jostar-yanganguy11
authored andcommitted
ixgbe: Support external GBE SerDes PHY BCM54616s
The Broadcom PHY is used in switches, so add the ID, and hook it up. This upstreams the Linux kernel patch from the network operating system SONiC from February 2020 [1]. [1]: sonic-net/sonic-linux-kernel#122 Signed-off-by: Jostar Yang <[email protected]> Signed-off-by: Guohan Lu <[email protected]> Signed-off-by: Paul Menzel <[email protected]>
1 parent 640cc2e commit e79418f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ static enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id)
380380
case X557_PHY_ID2:
381381
phy_type = ixgbe_phy_x550em_ext_t;
382382
break;
383+
case BCM54616S_E_PHY_ID:
384+
phy_type = ixgbe_phy_ext_1g_t;
385+
break;
383386
default:
384387
phy_type = ixgbe_phy_unknown;
385388
break;

drivers/net/ethernet/intel/ixgbe/ixgbe_type.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,7 @@ struct ixgbe_nvm_version {
14071407
#define QT2022_PHY_ID 0x0043A400
14081408
#define ATH_PHY_ID 0x03429050
14091409
#define AQ_FW_REV 0x20
1410+
#define BCM54616S_E_PHY_ID 0x03625D10
14101411

14111412
/* Special PHY Init Routine */
14121413
#define IXGBE_PHY_INIT_OFFSET_NL 0x002B

0 commit comments

Comments
 (0)