2023-06-08 17:49:36 +00:00
|
|
|
From 437be8fec1433d9b023f34af8e4ac2dbe3a113f9 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Jonathan Lemon <jonathan.lemon@gmail.com>
|
|
|
|
Date: Wed, 4 May 2022 14:33:05 -0700
|
|
|
|
Subject: [PATCH] Populate phy driver block for BCM54213PE
|
|
|
|
|
|
|
|
The BCM54213PE identifier is a RPI-specific addition.
|
|
|
|
Populate the remainder of the driver functions, including the
|
|
|
|
required probe routine.
|
|
|
|
|
|
|
|
Add a version of bcm54xx_suspend, from upstream.
|
|
|
|
|
|
|
|
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
|
|
|
|
---
|
|
|
|
drivers/net/phy/broadcom.c | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/net/phy/broadcom.c
|
|
|
|
+++ b/drivers/net/phy/broadcom.c
|
2024-02-10 18:27:33 +00:00
|
|
|
@@ -933,8 +933,14 @@ static struct phy_driver broadcom_driver
|
2023-06-08 17:49:36 +00:00
|
|
|
.phy_id_mask = 0xffffffff,
|
|
|
|
.name = "Broadcom BCM54213PE",
|
|
|
|
/* PHY_GBIT_FEATURES */
|
|
|
|
+ .get_sset_count = bcm_phy_get_sset_count,
|
|
|
|
+ .get_strings = bcm_phy_get_strings,
|
|
|
|
+ .get_stats = bcm54xx_get_stats,
|
|
|
|
+ .probe = bcm54xx_phy_probe,
|
|
|
|
.config_init = bcm54xx_config_init,
|
|
|
|
.config_intr = bcm_phy_config_intr,
|
|
|
|
+ .suspend = bcm54xx_suspend,
|
|
|
|
+ .resume = bcm54xx_resume,
|
|
|
|
}, {
|
|
|
|
.phy_id = PHY_ID_BCM5461,
|
|
|
|
.phy_id_mask = 0xfffffff0,
|