mxl862xx_fw...ap_clear_bit(9)
π mxl862xx_fw...ap_clear_bit(9) π
okay bestie, welcome to the Kernel API Manual β¨ β yes, section 9, the deep lore section. this one's a tiny little function in the mxl862xx driver and honestly? she's short but she matters. let's get into it π
πΈ NAME πΈ
mxl862xx_fw_portmap_clear_bit β clears exactly one single port bit in a firmware portmap. that's it. one bit. she's focused, she's minimal, she's iconic π
π¦ SYNOPSIS π¦
void mxl862xx_fw_portmap_clear_bit (__le16 *map , int port );
no return value, no drama, no error code. void. she just does the thing and leaves π
β¨ ARGUMENTS β¨
mapβ the firmware portmap array, fr fr. it's__le16 *and it's gotMXL862XX_FW_PORTMAP_WORDSentries in it, so likeβ¦ know how big your array is before you hand it over, bestie π«Άportβ the port index. valid range is0..MXL862XX_MAX_BRIDGE_PORTS-1. keep it in range, okay? that's the vibe check π₯
π SEE ALSO π
Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx.h β that's the header, that's where the lore lives π
and the whole friend group:
mxl862xx_fw_portmap_set_bit(9)mxl862xx_fw_portmap_is_empty(9)struct 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)
like, mxl862xx_fw_portmap_set_bit(9) is literally her evil twin (affectionate) β one sets the bit, one clears the bit, balance restored π
lowkey a reminder: this is clearing a bit in a __le16 array, so the endianness is little-endian and it's doing exactly what it says on the tin. no cap π
and that's the whole page, bestie!! π§ source lives at ./drivers/net/dsa/mxl862xx and this lil gem is dated October 2026 β go forth and clear some bits, 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