[OpenWrt-Devel] [PATCH] kernel: Move some DSA config options to generic config

Linus Walleij linus.walleij at linaro.org
Mon May 27 04:59:34 EDT 2019


On Sun, May 26, 2019 at 11:46 PM Hauke Mehrtens <hauke at hauke-m.de> wrote:
> On 5/24/19 11:09 PM, Linus Walleij wrote:
> > Hi Hauke,
> >
> > this patch regresses my Gemini systems because I really need these switches
> > to come up and this patch:
>
> Sorry Linus,
>
> I didn't know that they are needed, I assumed that they were
> accidentally added for the gemini target, on the ath79 target these
> options were not defined by the build system for kernel 4.19 at all.

Don't worry I find all the bugs :)

For ath79 CONFIG_NET_DSA_VITESSE_VSC73XX it is however
pretty relevant I think!

The AR71xx v4.14 kernel at
ar71xx/files/drivers/spi/spi-vsc7385.c
there is some OpenWrt custom driver for the VSC7385 that is
used by the PB44 board and added in patch:
patches-4.14/606-MIPS-ath79-pb44-fixes.patch
this should be covered by the new upstream driver in v4.19, but
I don't have this router so I cannot really enable it. I think it
will be possible to just enable the driver for use without any
of the special firmware that is provided for PB44 in the
OpenWrt tree.

The best would be if PB44 would be converted to device tree to
use it, but I suppose it is also possible to patch
drivers/net/dsa/vitesse-vsc73xx.c to use the boardfile.

> Are both switches found on some of the gemini board? I will add them again.

Yep the RTL8366RB is on the DIR-685 and the Vitesse variants
are on the SQ201.

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list