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
76 stars 78 forks source link

LAN937x Support #101

Open joaofl opened 10 months ago

joaofl commented 10 months ago

I can see some mentions and defines related to the LAN937x device family, including some patches on the stmmac driver to work along with the switch. However, I really wonder where the actual implementation of the driver is, and if it is even possible to compile the image for Kernel 6.1 with the LAN937x chip. I am aware of the https://github.com/microchip-ung/lan937x_linux repo, but that does not seem to support the dwmac, but only macb macs.

All along the code I see definitions like the one below, which are not implemented at all, and I wonder if it was ever compiled: image

Do you have any suggestions on how to get the LAN937x working along with the stmmac on kernel 6.1?

triha2work commented 8 months ago

LAN937X chip is supposed to be supported with mainline DSA driver. Please use that driver as the non-DSA driver is never released publicly.