pch_gbe_phy_get_id(9)
π pch_gbe_phy_get_id(9) β like, the kernel API manual one π
okay so bestie, welcome to a Kernel API Manual page and honestly? it's a short one, but it's a serve. the star of the show is pch_gbe_phy_get_id, and her whole entire job is: Retrieve the PHY ID and revision. that's it. that's the vibe. no cap. π¦
β¨ NAME β¨
pch_gbe_phy_get_id β Retrieve the PHY ID and revision πΈ
like literally just goes and fetches the PHY ID and the revision. both. she's thorough. π
β¨ SYNOPSIS β¨
s32 pch_gbe_phy_get_id (struct pch_gbe_hw *hw );
that's the whole signature, icon that it is. returns an s32, takes a pointer to a struct pch_gbe_hw. periodt. β
β¨ ARGUMENTS β¨
hwβ Pointer to the HW structure Returns 0: Successful. Negative value: Failed.
okay so that one bullet is doing a lot of heavy lifting, let me break it down for you π«Ά β hw is a pointer to the HW structure, and then wrapped up right in there are the return deets: 0 means Successful, and a negative value means Failed. so like, if you get a negative number back, that's your sign the whole thing did not slay. π no guessing, that's just what the page says, bestie.
β¨ SEE ALSO β¨
the whole friend group, in order, fr fr:
- Kernel file
./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c pch_gbe_phy_read_reg_miic(9)pch_gbe_phy_write_reg_miic(9)pch_gbe_phy_sw_reset(9)pch_gbe_phy_hw_reset(9)pch_gbe_phy_power_up(9)pch_gbe_phy_power_down(9)pch_gbe_phy_set_rgmii(9)pch_gbe_phy_tx_clk_delay(9)pch_gbe_phy_init_setting(9)pch_gbe_phy_disable_hibernate(9)
like, go read the rest of them too. they're all in ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c and honestly it's giving main character energy over there. ππ₯
ok tiny heads up bestie: that line at the bottom of the original is./drivers/net/ethernet/oki-sem...β truncated and everything β dated October 2026, and it's the source/version + date footer forpch_gbe_phy_get_id(9). so yeah, that's the tea. π
and that's the whole page!! short, sweet, ate, left no crumbs ππ§ββοΈ bye bestie, ily, go retrieve some PHY IDs responsibly πβ¨
π¦ 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