STRUCT MPI3MR_DEVICE_MAP_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpi3mr_device_map_info(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual and it's literally just the glow-up reveal of one struct: struct mpi3mr_device_map_info β€” the target device mapping information bestie. it's giving "who am I and where do I live" but for devices. no cap. πŸ¦‹


✨ NAME ✨

struct mpi3mr_device_map_info β€” target device mapping information πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole vibe, character for character, don't touch it:

struct mpi3mr_device_map_info {
    __u16 handle;
    __u16 perst_id;
    __u32 target_id;
    __u8 bus_id;
    __u8 rsvd1;
    __u16 rsvd2;
 };

periodt. that's the struct. 🫢


πŸ‘‘ Members πŸ‘‘

every field, no skips, we're doing all of them:

  • handle β€” the firmware device handle. that's firmware's little name tag for the device fr fr 🏷️
  • perst_id β€” the persistent ID, and it's the firmware who assigned it. persistent = it doesn't just ghost you πŸ’–
  • target_id β€” the target ID, but this one's assigned by the driver πŸ‘‘
  • bus_id β€” the bus ID, also assigned by the driver 🚌
  • rsvd1 β€” reserved. it's reserved. that's the whole personality πŸ™ˆ
  • rsvd2 β€” reserved too. matching set, iconic πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, all of them, in order:

  • Kernel file ./include/uapi/scsi/scsi_bsg_mpi3mr.h struct
  • mpi3_driver_info_layout(9)
  • struct mpi3mr_bsg_in_adpinfo(9)
  • struct mpi3mr_bsg_adp_reset(9)
  • struct mpi3mr_change_count(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 squad. go read them, iykyk πŸ’œ


ngl the reserved fields are lowkey the main character energy of this struct β€” they do nothing and yet they're here. respect. 🌈

and that's the page!! πŸŽ€ huge shoutout to the source <pink>./include/uapi/scsi</pink> and the date stamp October 2026 β€” signed, sealed, delivered by the Kernel API Manual, mwah πŸ’‹βœ¨πŸ“

πŸ“¦ where this page comes from