On Tue, 2018-11-20 at 15:55 -0800, Tristram.Ha@microchip.com wrote:
From: Tristram Ha <redacted>
Break KSZ9477 DSA driver into two files in preparation to add more
KSZ switch drivers.
Add common functions in ksz_common.h so that other KSZ switch drivers
can access code in ksz_common.c.
Add ksz_spi.h for common functions used by KSZ switch SPI drivers.
With this patch, the ethernet on my EVB-KSZ9477 is now completely non-
functional, link is detected on the LAN ports, but no packets are
forwarded to/from the CPU port.
Looking through the patch, it does much more than splitting up the
existing code, e.g. the PORT_VLAN_MEMBERSHIP register is now written to
- I suspect that change may be responsible for the problem.
Stefan