e1000e_cleanup_led_generic(9)
π e1000e_cleanup_led_generic(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the actual manual name, we're being official today π
β and today's main character is e1000e_cleanup_led_generic(9). Sit down, hydrate, let's get into it.
β¨ NAME β¨
e1000e_cleanup_led_generic β sets the LED config back to default operation π
πΈ SYNOPSIS πΈ
s32 e1000e_cleanup_led_generic (struct e1000_hw *hw );
like, that's the whole vibe. returns an s32, takes one pointer. clean. simple. iconic.
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π«Ά literally just a pointer to the hardware struct, that's it, that's the whole argument bestie
β DESCRIPTION β
So here's what's going down: this function removes the current LED configuration and then sets the LED configuration to the default value, which was saved from the EEPROM. π§
That's it. That's the whole job. It's giving "cleanup crew but make it LEDs" β old config out, EEPROM-saved default in, no cap. β¨
π SEE ALSO π
The kernel file lives at ./drivers/net/ethernet/intel/e1000e/mac.c β go say hi to it sometime π
and then the whole extended friend group, fr fr:
e1000e_get_bus_info_pcie(9)e1000_set_lan_id_multi_port_pcie(9)e1000_set_lan_id_single_port(9)e1000_clear_vfta_generic(9)e1000_write_vfta_generic(9)e1000e_init_rx_addrs(9)e1000_check_alt_mac_addr_generic(9)e1000e_rar_set_generic(9)e1000_hash_mc_addr(9)e1000e_update_mc_addr_list_generic(9)e1000e_clear_hw_cntrs_base(9)e1000e_check_for_copper_link(9)e1000e_check_for_fiber_link(9)e1000e_check_for_serdes_link(9)e1000_set_default_fc_generic(9)e1000e_setup_link_generic(9)e1000_commit_fc_settings_generic(9)e1000_poll_fiber_serdes_link_generic(9)e1000e_setup_fiber_serdes_link(9)e1000e_config_collision_dist_generic(9)e1000e_set_fc_watermarks(9)e1000e_force_mac_fc(9)e1000e_config_fc_after_link_up(9)e1000e_get_speed_and_duplex_copper(9)e1000e_get_speed_and_duplex_fiber_serdes(9)e1000e_get_hw_semaphore(9)e1000e_put_hw_semaphore(9)e1000e_get_auto_rd_done(9)e1000e_valid_led_default(9)e1000e_id_led_init_generic(9)e1000e_setup_led_generic(9)e1000e_blink_led_generic(9)e1000e_led_on_generic(9)e1000e_led_off_generic(9)e1000e_set_pcie_no_snoop(9)e1000e_disable_pcie_master(9)e1000e_reset_adaptive(9)e1000e_update_adaptive(9)
like okay, that's a lot of links but they're all slaying in their own way, iykyk π
ngl, this one's a short read β but every single LED still deserves its moment π
k bye bestie!! π this page is from the Kernel API Manual, source path ./drivers/net/ethernet/intel/e..., dated October 2026, and it's e1000e_cleanup_led_generic(9) all the way down. mwah πβ¨
π¦ 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