1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add a directory by kernel instead of a common root, add qnap-301w and rpi4 kernel 6.1 suppport

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-04-22 08:07:24 +02:00
parent e910436a7a
commit 46837ec4c0
9459 changed files with 362648 additions and 116345 deletions

View file

@ -0,0 +1,39 @@
From a0c4aecfb36db2429f4cdb177f37c09c389fc0c9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 29 Oct 2020 14:10:56 +0000
Subject: [PATCH 295/726] phy: broadcom: Add bcm54213pe configuration
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/net/phy/broadcom.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index 90c791524463..bb2143929885 100644
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
@@ -88,6 +88,11 @@ static int bcm54210e_config_init(struct phy_device *phydev)
return 0;
}
+static int bcm54213pe_config_init(struct phy_device *phydev)
+{
+ return bcm54210e_config_init(phydev);
+}
+
static int bcm54612e_config_init(struct phy_device *phydev)
{
int reg;
@@ -378,6 +383,9 @@ static int bcm54xx_config_init(struct phy_device *phydev)
case PHY_ID_BCM54612E:
err = bcm54612e_config_init(phydev);
break;
+ case PHY_ID_BCM54213PE:
+ err = bcm54213pe_config_init(phydev);
+ break;
case PHY_ID_BCM54616S:
err = bcm54616s_config_init(phydev);
break;
--
2.33.1