bcma_arch_r...llback_sprom(9)
π bcma_arch_r...llback_sprom(9) β like, the Kernel API Manual page, bestie
okay so real talk, this is a page from the Kernel API Manual (yes, that manual, the bcma_arch_r...llback_sprom(9) one) and it's shorter than my attention span but it ate, so let's get into it π
β¨ NAME β¨
bcma_arch_register_fallback_sprom β the function that registers a method providing a fallback SPROM when no SPROM gets found. That's it, that's the whole name section, she's concise π
πΈ SYNOPSIS πΈ
int bcma_arch_register_fallback_sprom (int (*sprom_callback)(struct
bcma_bus *bus, struct ssb_sprom *out) );
literally just copy that exactly, don't retype it from memory, i'm begging π«Ά
π¦ ARGUMENTS π¦
sprom_callbackβ the callback function. yes bestie that's the whole description. she said "the callback function" and clocked out. iconic honestly β¨
π₯ DESCRIPTION π₯
okay so here's the tea β with this function, the architecture implementation is allowed to register a callback handler that fills the SPROM data structure. like, it does the filling. main character energy.
the fallback gets used for PCI based BCMA devices, where no valid SPROM can be found in the shadow registers β and also to provide the SPROM for SoCs where BCMA is to control the system bus. both vibes, same function π
this function is useful for weird architectures that have a half-assed BCMA device hardwired to their PCI bus. no cap, they said half-assed in the official docs, i'm not making that up π
β οΈ and listen β this function is available for architecture code, only. so it is not exported. do not come for her at the module level, she's architecture-only, periodt π
π SEE ALSO π
- Kernel file
./drivers/bcma/sprom.cβ go read it, iykyk π§
and that's the page!! π
cute lil sign-off: this whole thing lives in ./drivers/bcma, and it's dated October 2026 β so yeah, she's from the future, slay ππ«
π¦ 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