smc_phy_check_media(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯

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