fman_port_disable(9)
π fman_port_disable(9) β from the Kernel API Manual, bestie
okay so we're in the kernel docs, section 9, and this one is literally called fman_port_disable. yes it's a function page. yes it's short. no we're not skipping anything, i promise π«Ά
β¨ NAME β¨
fman_port_disable β and honestly the original page leaves the description blank after the dash, so likeβ¦ that's it, that's the whole name section. no cap. the function name is the entire vibe π
π SYNOPSIS π
int fman_port_disable (struct fman_port *port );
πΈ ARGUMENTS πΈ
portβ a pointer to a FM Port module. that's the thing you're shutting down, bestie.
π¦ DESCRIPTION π¦
okay so picture this: you've got an FM port and you want it to gracefully stop. that's what this does. gracefully disable an FM port β¨ the port won't start any new tasks once all the tasks associated with it have been terminated.
this is a blocking routine, so heads up β it doesn't come back until the port is gracefully stopped. meaning: the port won't accept new frames, but it will finish all the frames or tasks it had already begun. like it's not gonna ghost its current work, it's gonna finish the shift and then clock out π«‘
bestie pls note: this is allowed only after fman_port_init. don't be out here calling it before init, that's not the move π
π₯ RETURN π₯
0on success π- an error code otherwise π
π SEE ALSO π
kernel file ./drivers/net/ethernet/freescale/fman/fman_port.c β go read it, iykyk
fman_port_config(9)fman_port_init(9)fman_port_cfg_buf_prefix_content(9)fman_port_enable(9)fman_port_bind(9)fman_port_get_qman_channel_id(9)fman_port_get_device(9)
alright that's the whole page, you ate that π
and for the record, this little beauty came out of ./drivers/net/ethernet/freesca... and it's dated October 2026 β iconic, we love a timestamped slay βπ love u, go disable a port responsibly π§π
π¦ 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