ksz_switch_shutdown(9)
π ksz_switch_shutdown(9) β like, the Kernel API Manual era π
okay so bestie, welcome to ksz_switch_shutdown(9), a page straight out of the Kernel API Manual and honestly? it's a little icon of a function. short, sweet, does exactly one vibe. let's get into it β¨
β¨ NAME β¨
ksz_switch_shutdown β the shutdown routine for the switch device. that's it, that's the whole job, and she ate π
πΈ SYNOPSIS πΈ
void ksz_switch_shutdown (struct ksz_device *dev );
no return value, no drama, just vibes and a void. we love a function that knows what it is π«Ά
π¦ ARGUMENTS π¦
devβ the switch device structure. yes queen, this is the main character of the whole page πβ¨
π DESCRIPTION π
so here's the tea β β this function is the one responsible for initiating a shutdown sequence for the switch device. like, she kicks off the whole "we're wrapping up" moment.
and then?? subsequently (fancy word, love that for her) she calls the DSA framework's shutdown function, so that the DSA switch gets a proper shutdown. no sloppy exits here, no cap. everything shuts down the right way, in the right order, and the DSA switch goes to sleep looking flawless π΄π
π₯ SEE ALSO π₯
the kernel file that started it all:
./drivers/net/dsa/microchip/ksz_common.c
and now the whole friend group, in the exact order they showed up π:
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_irq_phy_free(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_drive_strength_to_reg(9)ksz_drive_strength_error(9)ksz_drive_strength_write(9)
nineteen besties, one page, iykyk π§ββοΈ
ngl, this page is short but she's giving complete. didn't skip a single one of those (9) refs π
and that's the whole page!! π this lil masterpiece lives over in ./drivers/net/dsa/microchip, it's dated October 2026, and it's filed under ksz_switch_shutdown(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