realtek_mdio_probe(9)
π realtek_mdio_probe(9) π
okay bestie, welcome to the Kernel API Manual</p> page for realtek_mdio_probe(9) β the probe cutie for an MDIO-connected switch π«Άβ¨
πΈ NAME πΈ
realtek_mdio_probe β probe a platform device for an MDIO-connected switch π
β¨ SYNOPSIS β¨
int realtek_mdio_probe (struct mdio_device *mdiodev );
π¦ ARGUMENTS π¦
mdiodevβ themdio_deviceto probe on, bestie π
π DESCRIPTION π
This function should be used as the .probe in an mdio_driver. No cap.
After calling the common probe function for both interfaces, it initializes the values specific for MDIO-connected devices. Then, finally, it calls a common function to register the DSA switch. Slay π β¨
π CONTEXT π
Can sleep π΄. Takes and releases priv->map_lock π₯
β RETURN β
Returns 0 on success, and a negative error on failure. Periodt π―
π SEE ALSO π
- Kernel file:
./drivers/net/dsa/realtek/realtek-mdio.c realtek_mdio_remove(9)realtek_mdio_shutdown(9)
mwah π this cutie came from source/version ./drivers/net/dsa/realtek, dated October 2026 ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms