KSZ series SPI connected switch driver

modulename: ksz_spi.ko

configname: CONFIG_NET_DSA_MICROCHIP_KSZ_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Distributed Switch Architecture drivers
└─>Microchip KSZ8795/KSZ9477/LAN937x series switch support
└─>KSZ series SPI connected switch driver
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Select to enable support for registering switches configured through SPI.

source code: