Microchip-Ethernet / EVB-KSZ9477

Repository for using Microchip EVB-KSZ9477 board. Product Supported: KSZ9477, KSZ9567, KSZ9897, KSZ9896, KSZ8567, KSZ8565, KSZ9893, KSZ9563, KSZ8563, LAN9646, Phys(KSZ9031/9131, LAN8770
77 stars 78 forks source link

Is there easy way to use eth0 in ksx8795 #106

Open JanneTerho1 opened 4 months ago

JanneTerho1 commented 4 months ago

I use buildroot and imx6ull. The driver works fine in kernel 6.1 with DSA, but if I understand correctly, the only way to use the KSZ8795 in switch mode (connect port1, port2 and port5 like a switch) is to use br0. This is a lot of work for us because we have a lot of devices and scripts that use eth0 and we should add a lot of flags to change eth0 to br0.

The KSZ8795 works in switch mode on eth0 if I don't use the controller at all. One problem is that we can't see the lan1 and lan2 status when the cable is connected.

So the question is, is there any easy way to build drive with buildroot and still use eth0 and see lan1 and lan2 status?