Realtek MDIO interface driver

modulename: realtek-mdio.ko

configname: CONFIG_NET_DSA_REALTEK_MDIO

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Distributed Switch Architecture drivers
└─>Realtek Ethernet switch family support
└─>Device Tree and Open Firmware support
└─>Realtek MDIO interface driver
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Select to enable support for registering switches configured
through MDIO.

source code: