e1000e_read_phy_reg_mdic(9)
π e1000e_read_phy_reg_mdic(9) β like, the whole glow-up
okay so this page lives in the Kernel API Manual and it's all about one tiny little function that reads a register. yes bestie, a register. it's giving low-level but make it iconic. β¨
π NAME
e1000e_read_phy_reg_mdic β Read MDI control register
(that's it. that's the whole name section. short and slay.)
πΈ SYNOPSIS
s32 e1000e_read_phy_reg_mdic (struct e1000_hw *hw , u32 offset , u16
*data );
like, three args, returns an s32, no cap. π«Ά
π¦ ARGUMENTS
hwβ pointer to the HW structure. your hardware homegirl, basically. everything lives in here.offsetβ register offset to be read. this is which register you're peeking at πdataβ pointer to the read data. this is where the answer gets dropped off when the function is done. it's au16 *, so mind your types, bestie.
π DESCRIPTION
Reads the MDI control register in the PHY at offset and stores the information read to data.
fr fr that's the whole thing. you hand it a hw, you tell it an offset, you give it a data pointer to write into, and it goes and grabs whatever's sitting in that MDI control register in the PHY. no drama, no surprises, just register reading. π
ngl this one is a supporting-character function β the other *_phy_reg_* functions are the ones doing the heavy lifting. but she shows up and she does her job and that's main character energy too. π₯
π SEE ALSO
okay so this list is long. like, genuinely. bundle up. it's the whole phy.c friend group and they all showed up to the group chat:
- Kernel file
./drivers/net/ethernet/intel/e1000e/phy.c e1000e_check_reset_block_generic(9)e1000e_get_phy_id(9)e1000e_phy_reset_dsp(9)e1000e_write_phy_reg_mdic(9)e1000e_read_phy_reg_m88(9)e1000e_write_phy_reg_m88(9)e1000_set_page_igp(9)__e1000e_read_phy_reg_igp(9)e1000e_read_phy_reg_igp(9)e1000e_read_phy_reg_igp_locked(9)__e1000e_write_phy_reg_igp(9)e1000e_write_phy_reg_igp(9)e1000e_write_phy_reg_igp_locked(9)__e1000_read_kmrn_reg(9)e1000e_read_kmrn_reg(9)e1000e_read_kmrn_reg_locked(9)__e1000_write_kmrn_reg(9)e1000e_write_kmrn_reg(9)e1000e_write_kmrn_reg_locked(9)e1000_set_master_slave_mode(9)e1000_copper_link_setup_82577(9)e1000e_copper_link_setup_m88(9)e1000e_copper_link_setup_igp(9)e1000_phy_setup_autoneg(9)e1000_copper_link_autoneg(9)e1000e_setup_copper_link(9)e1000e_phy_force_speed_duplex_igp(9)e1000e_phy_force_speed_duplex_m88(9)e1000_phy_force_speed_duplex_ife(9)e1000e_phy_force_speed_duplex_setup(9)e1000e_set_d3_lplu_state(9)e1000e_check_downshift(9)e1000_check_polarity_m88(9)e1000_check_polarity_igp(9)e1000_check_polarity_ife(9)e1000_wait_autoneg(9)e1000e_phy_has_link_generic(9)e1000e_get_cable_length_m88(9)e1000e_get_cable_length_igp_2(9)e1000e_get_phy_info_m88(9)e1000e_get_phy_info_igp(9)e1000_get_phy_info_ife(9)e1000e_phy_sw_reset(9)e1000e_phy_hw_reset_generic(9)e1000e_get_cfg_done_generic(9)e1000e_phy_init_script_igp3(9)e1000e_get_phy_type_from_id(9)e1000e_determine_phy_address(9)e1000_get_phy_addr_for_bm_page(9)e1000e_write_phy_reg_bm(9)e1000e_read_phy_reg_bm(9)e1000e_read_phy_reg_bm2(9)e1000e_write_phy_reg_bm2(9)e1000_enable_phy_wakeup_reg_access_bm(9)e1000_disable_phy_wakeup_reg_access_bm(9)e1000_access_phy_wakeup_reg_bm(9)e1000_power_up_phy_copper(9)e1000_power_down_phy_copper(9)__e1000_read_phy_reg_hv(9)e1000_read_phy_reg_hv(9)e1000_read_phy_reg_hv_locked(9)e1000_read_phy_reg_page_hv(9)__e1000_write_phy_reg_hv(9)e1000_write_phy_reg_hv(9)e1000_write_phy_reg_hv_locked(9)e1000_write_phy_reg_page_hv(9)e1000_get_phy_addr_for_hv_page(9)e1000_access_phy_debug_regs_hv(9)e1000_link_stall_workaround_hv(9)e1000_check_polarity_82577(9)e1000_phy_force_speed_duplex_82577(9)e1000_get_phy_info_82577(9)e1000_get_cable_length_82577(9)
like I said. the whole friend group. iykyk π
β source vibes: this page comes from ./drivers/net/ethernet/intel/e... (yes the footer truncates it, that's just how the man page renders it, don't come for me π) and it's dated October 2026.
okay bye bestie, go read some registers π π§ π
Kernel API Manual Β· October 2026 Β· e1000e_read_phy_reg_mdic(9) β periodt. π
β¨
π¦ 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