realtek_mdio_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the mdio_device to 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 πŸ“


mwah πŸ’‹ this cutie came from source/version ./drivers/net/dsa/realtek, dated October 2026 πŸŽ€πŸ’–

πŸ“¦ where this page comes from