mxl862xx_fw_portmap_set_bit(9)
π mxl862xx_fw_portmap_set_bit β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual entry for mxl862xx_fw_portmap_set_bit. this one's short and sweet and honestly kind of iconic in its minimalism π
πΈ NAME πΈ
mxl862xx_fw_portmap_set_bit β sets one single port bit in a firmware portmap. that's it. that's the whole vibe. one bit. one port. slay π
β¨ SYNOPSIS β¨
void mxl862xx_fw_portmap_set_bit (__le16 *map , int port );
that's the whole function signature, no cap. void return, so likeβ¦ it does its thing and doesn't report back. mysterious. love that for it π¦
π«Ά ARGUMENTS π«Ά
mapβ the firmware portmap array, and she's a whole array bestie: exactlyMXL862XX_FW_PORTMAP_WORDSentries long. it's a__le16 *, so little-endian words, iykyk πportβ the port index you're setting a bit for. valid range is0..MXL862XX_MAX_BRIDGE_PORTS-1β so from zero all the way up to one less than the max bridge ports. respect the bounds fr fr π
ngl this thing takes a raw pointer and an index, so the bounds are on you, bestie. the manpage gives you the range and trusts you to behave π
π SEE ALSO π
like the kernel file itself, bestie:
Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx.h
and the whole squad of related entries, all of them, in order:
mxl862xx_fw_portmap_clear_bit(9)β the opposite energy π§mxl862xx_fw_portmap_is_empty(9)β the vibe checkstruct mxl862xx_vf_vid(9)struct mxl862xx_vf_block(9)struct mxl862xx_evlan_block(9)struct mxl862xx_port_stats(9)struct mxl862xx_port(9)struct mxl862xx_pcs(9)struct mxl862xx_fw_version(9)struct mxl862xx_priv(9)
and that's the whole page, bestie πβ¨
cute little sign-off: this page lives under ./drivers/net/dsa/mxl862xx, it's dated October 2026, and it's filed as mxl862xx_fw_portmap_set_bit(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