On Thu, Feb 08, 2024 at 03:00:08PM +0100, Sergio Palumbo wrote:
Dear Russel,Oh, openwrt. That means I need to re-understand their build system to
this is the first time I do such a test and kindly ask you to help me in
preparing it.
In my openwrt environment I have found phylink.c file in two different
directories:
/build_dir/toolchain-aarch64_cortex-a53__gcc-112.30_musl/linux-5.15.137/drivers/net/phy
/build_dir/toolchain-aarch64_cortex-a53__gcc-112.30_musllinux-mediatek_filogic/linux-5.15.137/drivers/net/phy
advise how to do it. I only know the mainline kernel.
do I have to change both adding a line:Mainline has never had "SUPPORTED_interfaces" in phylink.c, so I'm
#define DEBUG
before the first #define line:
#define SUPPORTED_interfaces \
wondeirng what that's about. I'm also wondering what other changes
there are to it. I'm also wondering whether the behaviour you're
seeing is somehow special to openwrt. Too many things to wonder about
and effectively means there's too much that I don't know.
Therefore, I don't think I can help you, and I don't think I can
possibly accept your proposal for this quirk. For mainline, as far
as I'm aware, it will cause these modules to regress when they are
in the manufacturer default state when used with a host that supports
both 1000base-X and 2500base-X.