Files
eternalwrt-mt798x/target/linux/airoha/patches-6.12/310-07-airoha-ethernet-drop-xsi-mac-reset.patch
T
Christian Marangi 2f52b8f724 airoha: backport minor fixup for Ethernet driver on Offload Scenario
Backport minor fixup merged upstream for Ethernet driver on Offload
Scenario. This is to continue the effort of keeping the Airoha Ethernet
driver synced with the upstream version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-04-01 09:08:57 +02:00

34 lines
1.0 KiB
Diff

From fecb65813ddf52abf310bc2227a0ac869dc897d1 Mon Sep 17 00:00:00 2001
From: Christian Marangi <ansuelsmth@gmail.com>
Date: Wed, 29 Jan 2025 14:47:41 +0100
Subject: [PATCH 1/3] airoha: ethernet: drop xsi-mac reset
In preparation for support for Ethernet and PON PCS, drop the xsi-mac
reset from airoha_eth. This reset is related to the Ethernet PCS and
should be handled in the dedicated driver.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
drivers/net/ethernet/airoha/airoha_eth.c | 9 ++++-----
drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -3127,7 +3127,6 @@ static void airoha_remove(struct platfor
}
static const char * const en7581_xsi_rsts_names[] = {
- "xsi-mac",
"hsi0-mac",
"hsi1-mac",
"hsi-mac",
@@ -3159,7 +3158,6 @@ static int airoha_en7581_get_src_port_id
}
static const char * const an7583_xsi_rsts_names[] = {
- "xsi-mac",
"hsi0-mac",
"hsi1-mac",
"xfp-mac",