STRUCT RTL8365MB_CHIP_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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_EXTINTS slots of const struct rtl8365mb_extint πŸ”Œ
  • jam_table β€” the chip-specific initialization jam table πŸ“ a const 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 a size_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