smc_phy_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the smc_phy_reset(9) page in the Kernel API Manual β€” this is the kernel API moment where we reset the phy, and the vibes are honestly immaculate βœ¨πŸ’…

🌸 NAME 🌸

smc_phy_reset β€” reset the phy. That's the whole assignment, bestie: reset the phy 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

int smc_phy_reset (struct net_device *dev , int phy );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” net device. The network device in question, fr fr.
  • phy β€” phy address. The address of the PHY you're about to reset.

πŸ’– DESCRIPTION πŸ’–

So here's the tea: this function issues a software reset for the specified PHY, then waits up to 100ms for the reset to complete. Slay ⏳

After you issue the reset, we should not access the PHY for 50ms. Literally leave it alone β€” no poking, no prodding, no "just checking" energy πŸ™ˆ

The time to wait appears to be dependent on the PHY. So yeah, it's a "depends on your PHY" kind of situation, iykyk πŸ¦‹

🚨 Important lock check: Must be called with lp->lock locked. No cap β€” that's a hard requirement.

πŸ”₯ SEE ALSO πŸ”₯


kisses bestie πŸ’‹ this page comes from ./drivers/net/ethernet/smsc, dated October 2026, and it's serving smc_phy_reset(9) realness πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from