STRUCT LEAPRAID_IOCTL_ADAPTER_INFO(9)
π struct leapraid_ioctl_adapter_info(9) π
okay so this is a page from the Kernel API Manual, section 9, and it's literally all about one little struct bestie β struct leapraid_ioctl_adapter_info, aka the Adapter information for IOCTL. it's giving "here's everything you ever wanted to know about your adapter, packed into one vibe" β¨
β¨ NAME β¨
struct leapraid_ioctl_adapter_info β Adapter information for IOCTL π«Ά
π SYNOPSIS π
struct leapraid_ioctl_adapter_info {
struct leapraid_ioctl_header hdr;
u32 adapter_type;
u32 port_number;
u32 pci_id;
u32 revision;
u32 sub_dev;
u32 sub_vendor;
u32 r0;
u32 fw_ver;
u32 bios_ver;
u8 driver_ver[32];
u8 r1;
u8 scsi_id;
u16 r2;
struct leapraid_ioctl_pci_info pci_info;
};
no cap, that's the whole shape of it π
πΈ Members πΈ
okay bestie, field-by-field tour, let's go π¦
hdrβ the IOCTL header. the little intro card that goes first, periodt πadapter_typeβ an identifier for the adapter type. tells you what kind of adapter we're dealing with πport_numberβ the port number. literally that πpci_idβ the PCI device ID π₯revisionβ the revision number. the "which version of this thing" energy βsub_devβ the subsystem device ID πsub_vendorβ the subsystem vendor ID π§r0β reserved. not for you, bestie, hands off πfw_verβ the firmware version π (jk, it's fine, it's just a number)bios_verβ the BIOS version πdriver_verβ the driver version. note it's au8 driver_ver[32], so it's a whole 32-byte array of version-y goodness, not just one lil value πr1β reserved. again. still not for you πscsi_idβ the SCSI ID β¨r2β reserved. third time's the charm, don't touch π«Άpci_infoβ a PCI information structure β it's a wholestruct leapraid_ioctl_pci_infonested in there, main character energy honestly π
π SEE ALSO π
- Kernel file
./drivers/scsi/leapraid/leapraid_app.c struct leapraid_ioctl_header(9)struct leapraid_ioctl_diag_reset(9)struct leapraid_ioctl_pci_info(9)struct leapraid_ioctl_command(9)
go read those next, iykyk π
and that's the whole page, bestie β no notes π
this came out of ./drivers/scsi/leapraid, dated October 2026, and honestly? iconic. slay, stay safe, and don't write to reserved fields ππ
π¦ 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