default or selected kernelversion does not have config value CONFIG_NET_DSA_MICROCHIP_KSZ9477.
Result is shown for kernelversion 6.9.9

Microchip KSZ9477 series switch support

modulename: ksz9477.ko

configname: CONFIG_NET_DSA_MICROCHIP_KSZ9477

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Distributed Switch Architecture drivers
└─>Microchip KSZ9477 series switch support
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
This driver adds support for Microchip KSZ9477 switch chips.

source code: