STRUCT RTL8365MB_CHIP_INFO(9)
π struct rtl8365mb_chip_info(9) β the kernel API manual, bestie edition π
okay so this is a page straight out of the Kernel API Manual β¨ and it's all about one little struct that holds the static, chip-specific info. no cap, it's giving "ID card for your switch chip" energy.
πΈ NAME πΈ
struct rtl8365mb_chip_info β static chip-specific info. literally the facts about a chip that never change, and honestly? iconic.
β¨ SYNOPSIS β¨
struct rtl8365mb_chip_info {
const char *name;
u32 chip_id;
u32 chip_ver;
const struct rtl8365mb_extint extints[RTL8365MB_MAX_NUM_EXTINTS];
const struct rtl8365mb_jam_tbl_entry *jam_table;
size_t jam_size;
};
there she is π six fields, zero fluff, main character energy fr fr.
π«Ά Members π«Ά
nameβ the human-readable chip name π·οΈ like, what you'd actually call it out loud instead of screaming hex at people.chip_idβ the chip identifier. it's the chip's literal ID, its whole "iykyk" moment πchip_verβ the chip silicon revision. so like, which version of the actual physical silicon you got πextintsβ the available external interfaces. yup, an array,RTL8365MB_MAX_NUM_EXTINTSslots ofconst struct rtl8365mb_extintπjam_tableβ the chip-specific initialization jam table π aconst struct rtl8365mb_jam_tbl_entry *, and yeah it's the setup table for that specific chip.jam_sizeβ size of the chip's jam table, as asize_tπ (the table above can't count itself, someone's gotta do it)
π Description π
so here's the vibe check: these data are specific to a given chip in the family of switches supported by this driver. every chip gets its own little profile, and lowkey that's how it should be π
and when you're adding support for another chip in the family? the manual is real clear about it: a new chip info should be added to the rtl8365mb_chip_infos array. that's the move, periodt. don't be out here freelancing π
bestie note: this struct is static, chip-specific info β it's not the kind of thing you go mutating at runtime. respect the consts π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/dsa/realtek/rtl8365mb_main.c enum rtl8365mb_vlan_egress_mode(9)struct rtl8365mb_extint(9)struct rtl8365mb_cpu(9)struct rtl8365mb_port(9)struct rtl8365mb(9)
like, go read them, they're all connected, it's a whole ecosystem π¦
and that's the page!! source location is ./drivers/net/dsa/realtek and it's dated October 2026 β so yeah, from the future, slay β thanks for reading, mwah π struct rtl8365mb_chip_info(9) out. π
π¦ 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