diff options
author | Daniel Golle <daniel@makrotopia.org> | 2025-07-02 14:14:56 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-07 18:50:45 -0700 |
commit | 04c7aaccdcf60a0aff94acdd182561a6dd4c51c5 (patch) | |
tree | 7a8ceb252a1bbe73b1004784f9338c1fce59d0d1 /net/unix/af_unix.c | |
parent | d717d32f517f79da11065fd6334c780a495ef097 (diff) |
net: ethernet: mtk_eth_soc: use generic allocator for SRAM
Use a dedicated "mmio-sram" node and the generic allocator
instead of open-coding SRAM allocation for DMA rings.
Keep support for legacy device trees but notify the user via a
warning to update, and let the ethernet driver create the
gen_pool in this case.
Co-developed-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/c2b9242229d06af4e468204bcf42daa1535c3a72.1751461762.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions