STRUCT FALCON_BOARD_TYPE(9)
π 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 ofinit: 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.hstructfalcon_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
- 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