STRUCT LEAPRAID_IOCTL_ADAPTER_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a u8 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 whole struct leapraid_ioctl_pci_info nested 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