swphy_validate_state(9)
swphy_validate_state(9) π
hii bestie, welcome to the Kernel API Manual page for swphy_validate_state(9) β yes, the manual name is folded right in here, cute and accounted for. This is the function that does a little vibe check on your software phy status. π«Ά
πΈ NAME πΈ
swphy_validate_state β validate the software phy status.
β¨ SYNOPSIS β¨
okay so here's the signature, literally copy-paste coded:
int swphy_validate_state (const struct fixed_phy_status *state );
π ARGUMENTS π
stateβ software phy status. that's the whole argument, and it's the state we're checking. π
π DESCRIPTION π
This checks that the state stored in state can be represented in the emulated MII registers. no cap, that's the whole assignment. π
Returns 0 if it can, otherwise returns -EINVAL. periodt. β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/phy/swphy.c swphy_read_reg(9)
okay bye bestie β this cutie is from source/version ./drivers/net/phy, dated October 2026, and the page is swphy_validate_state(9) π
β¨
π¦ 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