mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ipq807x: fix QNAP 301w 10G phy support
This commit is contained in:
parent
409997d01c
commit
b663bd117f
@ -0,0 +1,37 @@
|
|||||||
|
From 440ab349813e5aa9dbeddab4d82ab64ff5347c5f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dirk Buchwalder <buchwalder@posteo.de>
|
||||||
|
Date: Sat, 30 Oct 2021 19:51:06 +0200
|
||||||
|
Subject: [PATCH] add aquantia phy id 113CB0 / 0x31c31C12
|
||||||
|
|
||||||
|
This adds support for the AQR113C with the id
|
||||||
|
"113CB0 / 0x31c31C12" to the ssdk.
|
||||||
|
|
||||||
|
This is used in the QNAP 301w
|
||||||
|
|
||||||
|
Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de>
|
||||||
|
|
||||||
|
---
|
||||||
|
include/hsl/phy/hsl_phy.h | 1 +
|
||||||
|
src/hsl/phy/hsl_phy.c | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- a/include/hsl/phy/hsl_phy.h
|
||||||
|
+++ b/include/hsl/phy/hsl_phy.h
|
||||||
|
@@ -579,6 +579,7 @@ typedef struct {
|
||||||
|
#define AQUANTIA_PHY_112 0x03a1b660
|
||||||
|
#define AQUANTIA_PHY_113C_A0 0x31c31C10
|
||||||
|
#define AQUANTIA_PHY_113C_A1 0x31c31C11
|
||||||
|
+#define AQUANTIA_PHY_113CB0 0x31c31C12
|
||||||
|
#define AQUANTIA_PHY_112C 0x03a1b792
|
||||||
|
|
||||||
|
#define PHY_805XV2 0x004DD082
|
||||||
|
--- a/src/hsl/phy/hsl_phy.c
|
||||||
|
+++ b/src/hsl/phy/hsl_phy.c
|
||||||
|
@@ -235,6 +235,7 @@ phy_type_t hsl_phytype_get_by_phyid(a_ui
|
||||||
|
case AQUANTIA_PHY_112:
|
||||||
|
case AQUANTIA_PHY_113C_A0:
|
||||||
|
case AQUANTIA_PHY_113C_A1:
|
||||||
|
+ case AQUANTIA_PHY_113CB0:
|
||||||
|
case AQUANTIA_PHY_112C:
|
||||||
|
phytype = AQUANTIA_PHY_CHIP;
|
||||||
|
break;
|
Loading…
Reference in New Issue
Block a user