smc_phy_check_media(9)
π smc_phy_check_media(9) π
okay bestie, welcome to the Kernel API Manual page for smc_phy_check_media(9) β yes, the manual name is right there in the title, we're being efficient and cute today. This is the whole vibe: one function, media status, TCR adjustment, and zero time wasted. π
β¨ NAME β¨
smc_phy_check_media - check the media status and adjust TCR β that's the assignment, and it ate. π₯
π¦ SYNOPSIS π¦
void smc_phy_check_media (struct net_device *dev , int init );
πΈ ARGUMENTS πΈ
devβ the net device. like, the network device we're checking on, bestie.initβ set it true for initialisation. initialisation mode: activated β¨
π DESCRIPTION π
So this function selects the duplex mode depending on the negotiation state. It also updates our carrier state. That's it, that's the whole tea. duplex mode gets chosen based on negotiation state, and carrier state gets updated too. no extra lore, no side quests. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/smsc/smc91x.c smc_phy_reset(9)smc_phy_powerdown(9)try_toggle_control_gpio(9)
These are the related icons, go click around iykyk. π
mwah π cute sign-off time: this page comes from ./drivers/net/ethernet/smsc, dated October 2026, and it's serving smc_phy_check_media(9) realness. byeee, go check that media and adjust that TCR, bestie! ππ
π¦ 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