enable_mii_autopoll(9)
π enable_mii_autopoll(9)
okay so bestie, welcome to the Kernel API Manual entry for enable_mii_autopoll(9) β yes that's the section 9, we're in kernel-land now, put your hair up π
β¨ NAME β¨
enable_mii_autopoll β literally just turns on autopolling, that's the whole vibe π¦
β¨ SYNOPSIS β¨
void enable_mii_autopoll (struct mac_regs __iomem *regs );
note the void β this function gives you nothing back, no return value, no lil treat, nada π it just does the thing and dips.
β¨ ARGUMENTS β¨
regsβ the velocity registers. that's it. that's the whole argument. hand it yourstruct mac_regs __iomem *and let it cook π
β¨ DESCRIPTION β¨
so what does it DO. glad you asked.
enable_mii_autopoll enables the MII link status autopoll feature on the Velocity hardware π and then β and this is the part everyone forgets β it waits for it to enable. no cap. it doesn't just fire and forget, it actually waits. that's the whole function. iconic behaviour honestly.
so like: turn it on, then be patient. periodt π
lowkey important: if you're ever looking for the other one, there's a safe_disable_mii_autopoll(9) in the see-also list down there β this page is the enable side of that story πΈ
β¨ SEE ALSO β¨
the whole velocity cinematic universe, fr fr. sit down, this is a long one π«Ά
the file itself:
- Kernel file
./drivers/net/ethernet/via/via-velocity.c
the CAM crew:
the miscellaneous besties:
the options squad:
velocity_set_int_opt(9)velocity_set_bool_opt(9)velocity_get_options(9)velocity_get_opt_media_mode(9)
the resets & filters girlies:
velocity_init_cam_filter(9)velocity_rx_reset(9)safe_disable_mii_autopoll(9)velocity_soft_reset(9)velocity_set_multi(9)
the MII / media girlies:
velocity_mii_read(9)mii_check_media_mode(9)velocity_mii_write(9)set_mii_flow_control(9)mii_set_auto_on(9)velocity_set_media_mode(9)mii_init(9)velocity_print_link_status(9)enable_flow_control_ability(9)
the setup & registers crew:
the DMA & ring girls:
velocity_init_dma_rings(9)velocity_alloc_rx_buf(9)velocity_free_rd_ring(9)velocity_init_rd_ring(9)velocity_init_td_ring(9)velocity_free_dma_rings(9)velocity_free_tx_buf(9)velocity_free_td_ring(9)
the packet path girlies:
velocity_error(9)velocity_tx_srv(9)velocity_rx_csum(9)velocity_rx_copy(9)velocity_iph_realign(9)velocity_receive_frame(9)velocity_rx_srv(9)velocity_intr(9)velocity_xmit(9)
the lifecycle squad:
velocity_open(9)velocity_shutdown(9)velocity_change_mtu(9)velocity_poll_controller(9)velocity_mii_ioctl(9)velocity_ioctl(9)velocity_get_stats(9)velocity_close(9)
the probe & info crew:
velocity_init_info(9)velocity_get_pci_info(9)velocity_get_platform_info(9)velocity_print_info(9)velocity_probe(9)velocity_remove(9)
the WOL & context girlies:
the ethtool & module crew:
like I said. the whole cinematic universe π
that's the page bestie! π this lil masterpiece lives in ./drivers/net/ethernet/via, it's stamped October 2026, and it goes by enable_mii_autopoll(9) β mwah, go enable some autopolling, ily, 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