summaryrefslogtreecommitdiff
path: root/drivers/net/phy/bcm-phy-lib.h
diff options
context:
space:
mode:
authorMurali Krishna Policharla <murali.policharla@broadcom.com>2020-03-27 21:55:40 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-27 16:07:24 -0700
commitab41ca3455a208392ce95f4086d5708dc37bff86 (patch)
treec784a5ae81ff8d6a7d1d2f20864a2aa6ea10d912 /drivers/net/phy/bcm-phy-lib.h
parent22f33971aa47a9868453850c434bbc080b804133 (diff)
net: phy: bcm7xx: add jumbo frame configuration to PHY
The BCM7XX PHY family requires special configuration to pass jumbo frames. Do that during initial PHY setup. Signed-off-by: Murali Krishna Policharla <murali.policharla@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/bcm-phy-lib.h')
-rw-r--r--drivers/net/phy/bcm-phy-lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/bcm-phy-lib.h b/drivers/net/phy/bcm-phy-lib.h
index c86fb9d1240c..129df819be8c 100644
--- a/drivers/net/phy/bcm-phy-lib.h
+++ b/drivers/net/phy/bcm-phy-lib.h
@@ -65,5 +65,6 @@ void bcm_phy_get_stats(struct phy_device *phydev, u64 *shadow,
struct ethtool_stats *stats, u64 *data);
void bcm_phy_r_rc_cal_reset(struct phy_device *phydev);
int bcm_phy_28nm_a0b0_afe_config_init(struct phy_device *phydev);
+int bcm_phy_enable_jumbo(struct phy_device *phydev);
#endif /* _LINUX_BCM_PHY_LIB_H */