mxl86110_mod...extended_reg(9)
πΈ mxl86110_mod...extended_reg(9) β the Kernel API Manual, bestie edition πΈ
okay so picture this: you're deep in the Kernel API Manual for mxl86110_mod...extended_reg(9) and you just need to flip some bits in a PHY's extended register without wrecking the rest of them. That's the whole vibe of this page. Let's go β¨
π NAME π
mxl86110_modify_extended_reg β modify bits of a PHY's extended register. that's it, that's the function, and honestly? she's iconic for it π
π¦ SYNOPSIS π¦
int mxl86110_modify_extended_reg (struct phy_device *phydev , u16 regnum
, u16 mask , u16 set );
π ARGUMENTS π
phydevβ pointer to the PHY device structure. your main character struct fr fr π«Άregnumβ register number to write. which register we're messing with πmaskβ bit mask of bits to clear. the "not these ones" list πsetβ bit mask of bits to set. the "yes these ones actually" list β¨
β NOTE β
lowkey the most important line on this whole page, no cap:
register value = (old register value & ~mask) | set.
that's the math, bestie. clear the mask bits, then OR in the set bits. it's giving surgical precision π§
π RETURN π
0 or negative error code. so like... zero means slay, negative means something went wrong and you should probably look at it π
π₯ SEE ALSO π₯
the whole friend group, gathered for you:
- Kernel file
./drivers/net/phy/mxl-86110.c __mxl86110_write_extended_reg(9)__mxl86110_read_extended_reg(9)__mxl86110_modify_extended_reg(9)mxl86110_write_extended_reg(9)mxl86110_read_extended_reg(9)mxl86110_get_wol(9)mxl86110_set_wol(9)mxl86110_synce_clk_cfg(9)mxl86110_broadcast_cfg(9)mxl86110_enable_led_activity_blink(9)mxl86110_config_rgmii_delay(9)mxl86110_config_init(9)mxl86111_probe(9)mxl86111_config_init(9)mxl86111_read_page(9)mxl86111_write_page(9)
and that's the page!! go forth and modify those extended register bits responsibly, bestie π
mwah π β this little number lives in ./drivers/net/phy, dated October 2026, and the header's still calling it mxl86110_mod...extended_reg(9) because we abbreviate when the name is too long to fit. periods, slay, bye π
π¦ 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