velocity_init_registers(9)
π velocity_init_registers(9) β a Kernel API Manual moment
okay so bestie, welcome to the glossy little corner of the Kernel API Manual where we talk about velocity_init_registers β¨ this one lives over in the via-velocity ethernet driver and honestly it's giving "quiet but essential" β no cap π
β¨ NAME β¨
velocity_init_registers β literally just: initialise MAC registers π¦
β¨ SYNOPSIS β¨
void velocity_init_registers (struct velocity_info *vptr , enum
velocity_init_type type );
like. that's the whole signature. she's short, she's sweet, she does not return anything because she's a void icon π
πΈ ARGUMENTS πΈ
vptrβ the velocity to init π«Ά like, the actual velocity thing you're pointing at. you gotta hand her the goods.typeβ the type of initialisation, and bestie your two options are hot or cold π₯π§ (that's what the manpage says, and we do not editorialise β we just report).
π DESCRIPTION π
So what does she actually do? She initialises the MAC π on a reset, or on first set up on the hardware. That's it. That's the whole vibe. Cold start? reset? she's there. periodt π
ngl this is the kind of function that doesn't get a fanfare but everything downstream is lowkey relying on her, so. respect the icon π
π¦ SEE ALSO π¦
First up, the source of truth β the kernel file: ./drivers/net/ethernet/via/via-velocity.c π and then, bestie, the whole group chat π
mac_get_cam_mask(9)mac_set_cam_mask(9)mac_set_cam(9)mac_wol_reset(9)get_chip_name(9)velocity_set_int_opt(9)velocity_set_bool_opt(9)velocity_get_options(9)velocity_init_cam_filter(9)velocity_rx_reset(9)velocity_get_opt_media_mode(9)safe_disable_mii_autopoll(9)enable_mii_autopoll(9)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)velocity_print_link_status(9)enable_flow_control_ability(9)velocity_soft_reset(9)velocity_set_multi(9)mii_init(9)setup_queue_timers(9)setup_adaptive_interrupts(9)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)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_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)velocity_xmit(9)velocity_init_info(9)velocity_get_pci_info(9)velocity_get_platform_info(9)velocity_print_info(9)velocity_probe(9)velocity_remove(9)wol_calc_crc(9)velocity_set_wol(9)velocity_save_context(9)velocity_restore_context(9)velocity_ethtool_up(9)velocity_ethtool_down(9)velocity_init_module(9)velocity_cleanup_module(9)
like, that's the entire friend group and she knows every single one of them π iykyk.
and that's the page, bestie π this one ships from ./drivers/net/ethernet/via and it's dated October 2026 β go forth, init your registers, 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