projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d22935
)
Populate phy driver block for BCM54213PE
author
Jonathan Lemon
<jonathan.lemon@gmail.com>
Wed, 4 May 2022 21:33:05 +0000
(14:33 -0700)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:23 +0000
(11:33 +0000)
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
patch
|
blob
|
history
diff --git
a/drivers/net/phy/broadcom.c
b/drivers/net/phy/broadcom.c
index
caeef60
..
359fd88
100644
(file)
--- a/
drivers/net/phy/broadcom.c
+++ b/
drivers/net/phy/broadcom.c
@@
-1049,8
+1049,14
@@
static struct phy_driver broadcom_drivers[] = {
.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,