diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-03-27 17:50:54 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-03-27 19:07:54 +0100 |
commit | 5b972d7272c06d17cc0a5a8374dbfb9a9dd33fe1 (patch) | |
tree | 7fd6aeadd3518f57d163c94d6be2fa33120ee180 /target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch | |
parent | a438a805ebe3f1aa6f25e31ee2152c60e3223343 (diff) | |
download | upstream-5b972d7272c06d17cc0a5a8374dbfb9a9dd33fe1.tar.gz upstream-5b972d7272c06d17cc0a5a8374dbfb9a9dd33fe1.tar.bz2 upstream-5b972d7272c06d17cc0a5a8374dbfb9a9dd33fe1.zip |
generic: mtk_eth_soc: allow setting MDIO clock frequency
Backport patch allowing to set the MDIO bus clock frequency.
By default the MDIO bus clock runs on 2.5 MHz, allow increasing it
up to 25 MHz.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch')
-rw-r--r-- | target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch b/target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch index 961d970c4d..0ed8c695e9 100644 --- a/target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch +++ b/target/linux/generic/pending-5.15/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch @@ -16,7 +16,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c -@@ -1403,12 +1403,28 @@ static void mtk_wake_queue(struct mtk_et +@@ -1424,12 +1424,28 @@ static void mtk_wake_queue(struct mtk_et } } @@ -45,7 +45,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> bool gso = false; int tx_num; -@@ -1430,6 +1446,18 @@ static netdev_tx_t mtk_start_xmit(struct +@@ -1451,6 +1467,18 @@ static netdev_tx_t mtk_start_xmit(struct return NETDEV_TX_BUSY; } @@ -64,7 +64,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> /* TSO: fill MSS info in tcp checksum field */ if (skb_is_gso(skb)) { if (skb_cow_head(skb, 0)) { -@@ -1445,8 +1473,14 @@ static netdev_tx_t mtk_start_xmit(struct +@@ -1466,8 +1494,14 @@ static netdev_tx_t mtk_start_xmit(struct } } |