STRUCT MPI3MR_BSG_IN_ADPINFO(9)
π struct mpi3mr_bsg_in_adpinfo(9)
okay so this is a page straight outta the Kernel API Manual, and it's all about struct mpi3mr_bsg_in_adpinfo β no cap, that's the whole vibe π¦
β¨ NAME β¨
struct mpi3mr_bsg_in_adpinfo β the adapter information request data that gets returned by the driver π
Like, you ask the driver "bestie, who are you?" and this struct is the answer sheet it hands back π«Ά
πΈ SYNOPSIS πΈ
struct mpi3mr_bsg_in_adpinfo {
__u32 adp_type;
__u32 rsvd1;
__u32 pci_dev_id;
__u32 pci_dev_hw_rev;
__u32 pci_subsys_dev_id;
__u32 pci_subsys_ven_id;
__u32 pci_dev:5;
__u32 pci_func:3;
__u32 pci_bus:8;
__u16 rsvd2;
__u32 pci_seg_id;
__u32 app_intfc_ver;
__u8 adp_state;
__u8 rsvd3;
__u16 rsvd4;
__u32 rsvd5[2];
struct mpi3_driver_info_layout driver_info;
};
look at her. absolute main character energy π and yes, the bitfields are literally pci_dev:5, pci_func:3, pci_bus:8 β smol and precious, we stan π
π§ Members π§
okay bestie, member-by-member tour, let's go β¨
adp_typeβ adapter type π«rsvd1β reserved (handsome lil placeholder, ignore her) πpci_dev_idβ PCI device ID of the adapter π₯pci_dev_hw_revβ PCI revision of the adapter πpci_subsys_dev_idβ PCI subsystem device ID of the adapter πpci_subsys_ven_idβ PCI subsystem vendor ID of the adapter πpci_devβ PCI device π¦pci_funcβ PCI function πpci_busβ PCI bus βrsvd2β reserved πpci_seg_idβ PCI segment ID πΈapp_intfc_verβ version of the application interface definition πrsvd3β reserved πrsvd4β reserved πrsvd5β reserved πdriver_infoβ Driver Information (Version/Name) π
ngl, adp_state is right there in the struct up top but the members list doesn't give her a one-liner, so we're just gonna wave at her from across the room π no invented facts on this page, periodt.
π SEE ALSO π
go touch grass in the kernel file ./include/uapi/scsi/scsi_bsg_mpi3mr.h πΏ and then go say hi to the whole friend group:
struct mpi3_driver_info_layout(9)struct mpi3mr_bsg_adp_reset(9)struct mpi3mr_change_count(9)struct mpi3mr_device_map_info(9)struct mpi3mr_all_tgt_info(9)struct mpi3mr_logdata_enable(9)struct mpi3mr_bsg_out_pel_enable(9)struct mpi3mr_logdata_entry(9)struct mpi3mr_bsg_in_log_data(9)struct mpi3mr_hdb_entry(9)struct mpi3mr_bsg_in_hdb_status(9)struct mpi3mr_bsg_out_repost_hdb(9)struct mpi3mr_bsg_out_upload_hdb(9)struct mpi3mr_bsg_out_refresh_hdb_triggers(9)struct mpi3mr_bsg_drv_cmd(9)struct mpi3mr_bsg_in_reply_buf(9)struct mpi3mr_buf_entry(9)struct mpi3mr_buf_entry_list(9)struct mpi3mr_bsg_mptcmd(9)struct mpi3mr_bsg_packet(9)
like, that's a whole group chat and every single one of them is iconic ππ₯
and that's the page!! brought to you from ./include/uapi/scsi, dated October 2026 β mwah, love u, read ur structs πππ«Ά
π¦ 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