KSZ9477 series SPI connected switch driver

modulename: ksz9477_spi.ko

configname: CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Distributed Switch Architecture drivers
└─>Microchip KSZ9477 series switch support
└─>KSZ9477 series SPI connected switch driver
In linux kernel since version 5 (release Date: 2019-03-03)  
Select to enable support for registering switches configured through SPI.

source code: