mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
add description and meta information to rk3308-fix-10mbit-ethernet.patch
This commit is contained in:
committed by
Rolf Leggewie
parent
9bbd4b14ac
commit
23851341e6
@@ -1,9 +1,31 @@
|
||||
From 545ae14ee0159a449e6e0f2f1f54b8c5cc6023ef Mon Sep 17 00:00:00 2001
|
||||
From: chillymattster <106633144+chillymattster@users.noreply.github.com>
|
||||
From: Brent Roman <genosensor@gmail.com>
|
||||
Date: Wed, 3 Sep 2025 18:29:16 +0200
|
||||
Subject: [PATCH] rk3308: Fix 10Mbit Ethernet
|
||||
|
||||
Origin: https://github.com/armbian/build/pull/6117
|
||||
Bug-armbian: https://github.com/armbian/build/pull/8575
|
||||
Bug-armbian: https://armbian.atlassian.net/browse/AR-1904
|
||||
Bug-armbian: https://forum.armbian.com/topic/30235-rockpi-s-ethernet-10mbps-not-working/
|
||||
Signed-off-by: chillymattster <106633144+chillymattster@users.noreply.github.com>
|
||||
Last-Update: 2025-09-06
|
||||
---
|
||||
This fixes bug AR-1904.
|
||||
The original fix was only for current and not for edge kernel which caused
|
||||
the patch being lost and made the problem reoccur.
|
||||
.
|
||||
According to the original PR#6117 the problem of 10mbps ethernot not working
|
||||
has first been seen in the 5.15 armbian kernel caused by a rewrite of speed
|
||||
setting for rk3308 in dwmc-rk.c that for unknown reasons completely omitted
|
||||
the code needed to reprogram the MAC clock as appropriate for the selected
|
||||
ethernet speed.
|
||||
.
|
||||
This patch corrects RK3308_GMAC_FLOW_CTRL and RK3308_GMAC_FLOW_CTRL_CLR to use
|
||||
the correct bits for MAC onfiguration and restores the missing code needed for
|
||||
setting the MAC clock required to match the selected ethernet speed.
|
||||
.
|
||||
|
||||
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user