]> git.ipfire.org Git - thirdparty/openwrt.git/commit
generic: update pending PCS patch with .fill_available_pcs OP 23413/head
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 17 May 2026 10:42:29 +0000 (12:42 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 18 May 2026 21:32:34 +0000 (23:32 +0200)
commit627cd79e1cdc5a93fd81b90ab78beabdb026a82e
treed73010e96ad0fbaeb2937a52fb82d1d8becd7b1b
parentdb7af22e49274719be1ba60dec4fdded33d9631d
generic: update pending PCS patch with .fill_available_pcs OP

While implementing standalone PCS support for DSA, it was found that making
the MAC driver passing the available_pcs array is limiting and problematic
for memory handling and allocation. To better handle this, change the logic
and make phylink allocate the struct and make the MAC driver implement a
function in phylink_config .fill_available_pcs to fill the PCS array.

Update the Airoha and Mediatek driver to reflect this new implementation.

Link: https://github.com/openwrt/openwrt/pull/23413
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
15 files changed:
target/linux/airoha/patches-6.12/310-10-net-airoha-add-phylink-support-for-GDM2-3-4.patch
target/linux/airoha/patches-6.12/606-net-airoha-disable-external-phy-code-if-PCS_AIROHA-i.patch
target/linux/generic/pending-6.12/770-02-net-phylink-introduce-internal-phylink-PCS-handling.patch
target/linux/generic/pending-6.12/770-03-net-phylink-add-phylink_release_pcs-to-externally-re.patch
target/linux/generic/pending-6.12/770-05-net-phylink-support-late-PCS-provider-attach.patch
target/linux/generic/pending-6.12/770-07-net-phylink-add-.pcs_link_down-PCS-OP.patch
target/linux/generic/pending-6.18/737-02-net-phylink-introduce-internal-phylink-PCS-handling.patch
target/linux/generic/pending-6.18/737-03-net-phylink-add-phylink_release_pcs-to-externally-re.patch
target/linux/generic/pending-6.18/737-05-net-phylink-support-late-PCS-provider-attach.patch
target/linux/generic/pending-6.18/737-07-net-phylink-add-.pcs_link_down-PCS-OP.patch
target/linux/generic/pending-6.18/737-09-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
target/linux/generic/pending-6.18/738-01-net-ethernet-mtk_eth_soc-reduce-rx-ring-size-for-older.patch
target/linux/generic/pending-6.18/795-04-net-ethernet-mtk_eth_soc-per-SoC-QDMA-TX-queue-count.patch
target/linux/generic/pending-6.18/795-05-net-ethernet-mtk_eth_soc-add-per-conduit-DSA-user-po.patch
target/linux/mediatek/patches-6.18/750-net-ethernet-mtk_eth_soc-add-mt7987-support.patch