smc_phy_reset(9)
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 π₯
- Kernel file
./drivers/net/ethernet/smsc/smc91x.c smc_phy_powerdown(9)smc_phy_check_media(9)try_toggle_control_gpio(9)
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
- 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