mxl86110_read_extended_reg(9)
π mxl86110_read_extended_reg(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual, section 9 (that's the kernel-functions girlies πΈ). Today's main character is mxl86110_read_extended_reg, and no cap, she is literally just here to read a register for you. Let's get into it π«Ά
β¨ NAME β¨
mxl86110_read_extended_reg β read a PHY's extended register. that's it. that's the whole job. iconic behaviour, honestly π
π SYNOPSIS π
int mxl86110_read_extended_reg (struct phy_device *phydev , u16 regnum );
copy it exactly, don't @ me π
π¦ ARGUMENTS π¦
phydevβ pointer to the PHY device structure. yes queen, she needs to know which PHY we're talking to π§regnumβ the extended register number to read. tell her which one and she'll go get it β¨
π DESCRIPTION π
so what does she actually do? she reads from an extended register of the PHY using the MaxLinear two-step access method (that's reg 0x1E/0x1F, iykyk). her party trick: she handles acquiring and releasing the MDIO bus lock internally, all by herself, so you don't have to think about it π«Ά lock in, lock out, no drama, periodt.
π₯ RETURN π₯
on success you get the 16-bit register value back π. on failure you get a negative errno code β so like, check for that, bestie, don't just vibe with a negative number π
β SEE ALSO β
- Kernel file
./drivers/net/phy/mxl-86110.cβ the source, go read her π __mxl86110_write_extended_reg(9)__mxl86110_read_extended_reg(9)__mxl86110_modify_extended_reg(9)mxl86110_write_extended_reg(9)mxl86110_modify_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)
the whole extended-register friend group ate, ngl π₯
lowkey a whole squad ofmxl86110_*andmxl86111_*functions, and every single one is worth a read. main character energy across the board π
okay that's the page!! π this lil' baddie lives over in ./drivers/net/phy, she's dated October 2026, and she's filed under mxl86110_read_extended_reg(9) in the Kernel API Manual. go forth and read those extended registers, bestie β slay ππ¦β¨
π¦ 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