Bjørn Mork <[email protected]> [2022-12-03 15:01:57]:

[adding Arnd to the Cc: loop]

> Petr Štetiar <[email protected]> writes:
> 
> > `CONFIG_NET_DSA_MV88E6XXX=m` so it might be related to initramfs?
> 
> Isn't that a bit strange?  I believe it should be built-in.

Indeed, it looks like a regression caused by upstream commit e5f31552674e
("ethernet: fix PTP_1588_CLOCK dependencies") in conjuction with images
produced by our buildbots, which use `CONFIG_ALL_KMODS=y` config setting, so
it likely makes `PTP_1588_CLOCK=m` and thus `CONFIG_NET_DSA_MV88E6XXX=m`.

This simple revert/workaround seems to fix it:

        diff --git a/drivers/net/dsa/mv88e6xxx/Kconfig
        b/drivers/net/dsa/mv88e6xxx/Kconfig
        index 7a2445a34eb7..634a48e6616b 100644
        --- a/drivers/net/dsa/mv88e6xxx/Kconfig
        +++ b/drivers/net/dsa/mv88e6xxx/Kconfig
        @@ -2,7 +2,6 @@
         config NET_DSA_MV88E6XXX
                tristate "Marvell 88E6xxx Ethernet switch fabric support"
                depends on NET_DSA
        -       depends on PTP_1588_CLOCK_OPTIONAL
                select IRQ_DOMAIN
                select NET_DSA_TAG_EDSA
                select NET_DSA_TAG_DSA

Cheers,

Petr

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to