ksz_irq_phy_free(9)
π ksz_irq_phy_free β the kernel API manual, but make it make sense π
okay so bestie, welcome to ksz_irq_phy_free(9), straight out of the Linux kernel API manual β¨ this little icon is all about the KSZ device, and honestly? she's lowkey the cleanup crew of the driver world. let's get into it π«Ά
β¨ NAME β¨
ksz_irq_phy_free β release those IRQ mappings for the PHYs in the KSZ device, no cap π
πΈ SYNOPSIS πΈ
void ksz_irq_phy_free (struct ksz_device *dev );
that's it. that's the whole signature. she takes one pointer and returns literally nothing (void), because she's a giver π
π ARGUMENTS π
devβ a pointer to thestruct ksz_devicestructure. that's the KSZ device bestie, she needs to know which device we're freeing stuff on π¦
π DESCRIPTION π
so what she actually does: she releases any IRQ mappings that were previously assigned to the active PHYs in the KSZ switch π how? by disposing of each mapped IRQ inside the user_mii_bus structure. that's the whole assignment. tidy, iconic, done β¨
think of her as the friend who helps you pack up after the party β every mapped IRQ gets put away properly so nothing's left lingering ππ
π§ SEE ALSO π§
the kernel file herself lives at ./drivers/net/dsa/microchip/ksz_common.c β go say hi π
and here's the whole squad, every single one of them, no skips:
ksz_phylink_mac_disable_tx_lpi(9)ksz_phylink_mac_enable_tx_lpi(9)ksz_update_port_member(9)ksz_parent_mdio_read(9)ksz_parent_mdio_write(9)ksz_phy_addr_to_port(9)ksz_irq_phy_setup(9)ksz_parse_dt_phy_config(9)ksz_mdio_register(9)ksz_handle_wake_reason(9)ksz_is_port_mac_global_usable(9)ksz_get_wol(9)ksz_set_wol(9)ksz_wol_pre_shutdown(9)ksz_switch_macaddr_get(9)ksz_switch_shutdown(9)ksz_drive_strength_to_reg(9)ksz_drive_strength_error(9)ksz_drive_strength_write(9)
ok real talk:ksz_irq_phy_setup(9)is literally her counterpart β she sets the IRQ mappings up,ksz_irq_phy_freetakes them back down. balance. harmony. main character duo energy π₯
okay that's the page!! and for the lil sign-off: this beauty comes from the source at ./drivers/net/dsa/microchip, dated October 2026, in the Linux Kernel API Manual π« iykyk. go free those IRQs responsibly bestie, 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