]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: provide shared tx_header() for RTL93xx 22228/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 1 Mar 2026 08:31:03 +0000 (09:31 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Mar 2026 19:05:47 +0000 (20:05 +0100)
commit02710fdfcac303525fecc4a75fc684b32188e50f
tree1aa767779f06569e9389077877b9260bd45fc98e
parentfb6e2568df60dee20a87a1e05ef5fd39cafc6d1f
realtek: eth: provide shared tx_header() for RTL93xx

rteth_930x_create_tx_header() and rteth_931x_create_tx_header() do
basically the same. Only exception is, that one function can handle
ports beyond 32 and the other not. Merge them into one.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22228
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c