From b663bd117f8226edf63be8e9e3a5f113ce11b310 Mon Sep 17 00:00:00 2001 From: lean Date: Thu, 31 Mar 2022 16:08:22 +0800 Subject: [PATCH] ipq807x: fix QNAP 301w 10G phy support --- ...dd-aquantia-phy-id-113CB0-0x31c31C12.patch | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/qca/nss/qca-ssdk/patches/008-add-aquantia-phy-id-113CB0-0x31c31C12.patch diff --git a/package/qca/nss/qca-ssdk/patches/008-add-aquantia-phy-id-113CB0-0x31c31C12.patch b/package/qca/nss/qca-ssdk/patches/008-add-aquantia-phy-id-113CB0-0x31c31C12.patch new file mode 100644 index 000000000..1e7cbcfbb --- /dev/null +++ b/package/qca/nss/qca-ssdk/patches/008-add-aquantia-phy-id-113CB0-0x31c31C12.patch @@ -0,0 +1,37 @@ +From 440ab349813e5aa9dbeddab4d82ab64ff5347c5f Mon Sep 17 00:00:00 2001 +From: Dirk Buchwalder +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 + +--- + 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; \ No newline at end of file