STRUCT FALCON_BOARD_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct falcon_board_type β€” the whole board-ops + type-info situation, bestie. Like, it's the struct that tells you what board you're on and hands you all the function pointers to actually do stuff with it ✨ (this is from the Kernel API Manual, section 9, iykyk 🫢)


🌸 SYNOPSIS 🌸

ok so here's the shape of it, no cap, copy it exactly:

struct falcon_board_type {
    u8 id;
    int (*init) (struct ef4_nic *nic);
    void (*init_phy) (struct ef4_nic *efx);
    void (*fini) (struct ef4_nic *nic);
    void (*set_id_led) (struct ef4_nic *efx, enum ef4_led_mode mode);
    int (*monitor) (struct ef4_nic *nic);
 };

πŸŽ€ Members πŸŽ€

Every field, every vibe, nothing skipped πŸ’–

  • id β€” the board type id, literally the one you'd find in NVRAM πŸ‘‘
  • init β€” does the resource-allocating thing and initialises the peripheral hardware. main character energy fr fr πŸ”₯
  • init_phy β€” board-specific PHY initialisation goes here. that's it, that's the job πŸ’…
  • fini β€” the opposite of init: shuts the hardware down and frees the resources. clean exit, we love to see it 🧚
  • set_id_led β€” sets the state of the identifying LED, or reverts it to automatic function. your choice, bestie 🌈
  • monitor β€” the board-specific health check function. it's giving wellness check but for hardware 🩺✨

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're all connected:

  • Kernel file ./drivers/net/ethernet/sfc/falcon/nic.h struct falcon_board(9)
  • struct falcon_spi_device(9)
  • struct falcon_nic_data(9)

ok that's the whole page!! nothing hidden, nothing skipped, we ate and left no crumbs πŸ“

and that's a wrap on the cute sign-off: this one lives at ./drivers/net/ethernet/sfc/falcon and it's dated October 2026 β€” struct falcon_board_type(9), periodt πŸ’œπŸ‘‘

πŸ“¦ where this page comes from