mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
e71a360f57
Removed upstreamed: uml/patches-5.15/001-um-fix-default-console-kernel-parameter.patch[1] All other patches automatically rebased Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200 Run-tested: bcm2711/RPi4B, mt7622/RT3200 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.71&id=e1dbe8a62098b20f5093cf75ade2f2dc9259b006 Signed-off-by: John Audia <therealgraysky@proton.me> Compile-tested: mvebu/cortexa72 (RB5009UG+S+IN) Run-tested: mvebu/cortexa72 (RB5009UG+S+IN)
64 lines
2.1 KiB
Diff
64 lines
2.1 KiB
Diff
From 3b92ee7b7899b6beffb2b484c58326e36612a873 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Thu, 23 Dec 2021 14:52:56 +0000
|
|
Subject: [PATCH] net: phy: aquantia: add PHY_ID for AQR112R
|
|
|
|
As advised by Ian Chang this PHY is used in Puzzle devices.
|
|
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
---
|
|
drivers/net/phy/aquantia_main.c | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
--- a/drivers/net/phy/aquantia_main.c
|
|
+++ b/drivers/net/phy/aquantia_main.c
|
|
@@ -21,6 +21,8 @@
|
|
#define PHY_ID_AQR106 0x03a1b4d0
|
|
#define PHY_ID_AQR107 0x03a1b4e0
|
|
#define PHY_ID_AQR112 0x03a1b662
|
|
+#define PHY_ID_AQR112C 0x03a1b790
|
|
+#define PHY_ID_AQR112R 0x31c31d12
|
|
#define PHY_ID_AQR113 0x31c31c40
|
|
#define PHY_ID_AQR113C 0x31c31c12
|
|
#define PHY_ID_AQCS109 0x03a1b5c2
|
|
@@ -915,6 +917,30 @@ static struct phy_driver aqr_driver[] =
|
|
.get_stats = aqr107_get_stats,
|
|
},
|
|
{
|
|
+ PHY_ID_MATCH_MODEL(PHY_ID_AQR112C),
|
|
+ .name = "Aquantia AQR112C",
|
|
+ .probe = aqr107_probe,
|
|
+ .config_aneg = aqr_config_aneg_set_prot,
|
|
+ .config_intr = aqr_config_intr,
|
|
+ .handle_interrupt = aqr_handle_interrupt,
|
|
+ .read_status = aqr107_read_status,
|
|
+ .get_sset_count = aqr107_get_sset_count,
|
|
+ .get_strings = aqr107_get_strings,
|
|
+ .get_stats = aqr107_get_stats,
|
|
+},
|
|
+{
|
|
+ PHY_ID_MATCH_MODEL(PHY_ID_AQR112R),
|
|
+ .name = "Aquantia AQR112R",
|
|
+ .probe = aqr107_probe,
|
|
+ .config_aneg = aqr_config_aneg_set_prot,
|
|
+ .config_intr = aqr_config_intr,
|
|
+ .handle_interrupt = aqr_handle_interrupt,
|
|
+ .read_status = aqr107_read_status,
|
|
+ .get_sset_count = aqr107_get_sset_count,
|
|
+ .get_strings = aqr107_get_strings,
|
|
+ .get_stats = aqr107_get_stats,
|
|
+},
|
|
+{
|
|
PHY_ID_MATCH_MODEL(PHY_ID_AQR113),
|
|
.name = "Aquantia AQR113",
|
|
.config_aneg = aqr_config_aneg,
|
|
@@ -945,6 +971,8 @@ static struct mdio_device_id __maybe_unu
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR106) },
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR107) },
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR112) },
|
|
+ { PHY_ID_MATCH_MODEL(PHY_ID_AQR112C) },
|
|
+ { PHY_ID_MATCH_MODEL(PHY_ID_AQR112R) },
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR113) },
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQR113C) },
|
|
{ PHY_ID_MATCH_MODEL(PHY_ID_AQCS109) },
|