STRUCT MODCTRL_MATCH(9)
struct modctrl_match(9) π
okay so welcome to the Kernel API Manual, bestie β this one is all about struct modctrl_match, aka the matching table entry for convctrl configuration. fr fr, also peep section 8.2.1 of the manual if you want the full lore. π¦
π NAME π
struct modctrl_match β matching table entry for convctrl configuration. See section 8.2.1 of manual. β¨
πΈ SYNOPSIS πΈ
struct modctrl_match {
u32 mode_cfg;
u8 conv[MIIC_MODCTRL_CONF_CONV_MAX];
};
π§ Members π§
mode_cfgβ the configuration value forconvctrl. that's her whole job, and she ate. πconvβ configuration of ethernet port muxes. First index isSWITCH_PORTIN, then index 1 - 5 areCONV1-CONV5for RZ/N1 SoCs. In case of RZ/T2H and RZ/N2H SoCs, the first index isSWITCH_PORTINthen index 0 - 3 areCONV0-CONV3. lowkey important to get those indices right, no cap. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/pcs/pcs-rzn1-miic.c struct miic_phy_link_cfg(9)struct miic(9)struct miic_of_data(9)struct miic_port(9)
like, go read the whole friend group if you're curious. iykyk. π
mwah π β source path ./drivers/net/pcs, dated October 2026. xoxo, your kernel bestie, signing off πβ¨
π¦ 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