STRUCT MCB_BUS(9)
π struct mcb_bus(9) β like, the whole entire vibe
okay so bestie, welcome to struct mcb_bus, straight out of the Kernel API Manual (struct mcb_bus(9), if you're keeping receipts π). It's MEN Chameleon Bus and it's lowkey iconic. Let's get into it π
β¨ NAME β¨
struct mcb_bus β MEN Chameleon Bus. that's it, that's the whole name, she's concise and she ate π
πΈ SYNOPSIS πΈ
here's the queen herself, character for character, no notes:
struct mcb_bus {
struct device dev;
struct device *carrier;
int bus_nr;
u8 revision;
char model;
u8 minor;
char name[CHAMELEON_FILENAME_LEN + 1];
int (*get_irq)(struct mcb_device *dev);
};
π¦ Members π¦
devβ the bus device. yes bestie, it's astruct device, she's just living her life in there π«Άcarrierβ a pointer to the carrier device (it's astruct device *, so like, handle with care β¨)bus_nrβ the mcb bus number, anint, in case you were wondering which bus. it's this one πrevisionβ the FPGA's revision number, au8β the FPGA said "this is my era" πmodelβ the FPGA's model number, acharβ main character energy fr frget_irqβ the callback to get the IRQ number. signature isint (*get_irq)(struct mcb_device *dev), so it takes astruct mcb_device *and hands you back anint, slay π
ngl bestie,minoris right there in the struct βu8 minor;β but the Members list doesn't say a single word about her. mysterious. we simply don't know. π (i'm not gonna make something up, that's not the move.)
π SEE ALSO π
- Kernel file
./include/linux/mcb.h struct mcb_device(9)struct mcb_driver(9)
go read those, they're the friend group π§
and that's the page!! π cute lil sign-off: this one lives in ./include/linux and it's dated October 2026 β yes, the future, she's ahead of her time β 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