_scsih_pcie_add_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– _scsih_pcie_add_device(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for _scsih_pcie_add_device β€” yes that leading underscore is real, yes it's giving "private function who doesn't want to be perceived", and yes we're gonna read it together 🫢


✨ NAME ✨

_scsih_pcie_add_device β€” creating pcie device object 🌸 literally that's the whole job. it makes the object. that's it. that's the function.


πŸ¦‹ SYNOPSIS πŸ¦‹

int _scsih_pcie_add_device (struct MPT3SAS_ADAPTER *ioc , u16 handle ,
u8 retry_count );

returns an int, takes three things, slays πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” per adapter object ✨ like, the adapter's very own object. it's the main character here, no cap.
  • handle β€” pcie device handle πŸ’– the little ID badge the pcie device wears.
  • retry_count β€” number of times this event has been retried πŸ” that's how many attempts this event has already been through. track it, girl.

πŸ‘‘ DESCRIPTION πŸ‘‘

Creating end device object, stored in ioc->pcie_device_list πŸ¦‹

so basically: a new end-device object gets created and it lives in ioc->pcie_device_list. that's the shelf. that's where it goes. periodt πŸ’…


⭐ RETURN ⭐

1 means queue the event later ⏳ 0 means complete the event βœ…

so like, 1 = "not yet bestie, come back later", 0 = "we're done here, gorgeous" πŸ”₯


🌈 SEE ALSO 🌈

okay this list is genuinely iconic and also genuinely unhinged, there are SO many and I'm obsessed. every single one of these, no skipping, we're doing them all πŸ’€

the kernel file first:

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c

and now the whole entire squad, in order, as promised πŸŽ€

like genuinely, that's the whole friend group and they ALL showed up to the party πŸŽ‰ iykyk πŸ’œ


and that's the page, bestie!! 🧚 this lil masterpiece lives under ./drivers/scsi/mpt3sas, dated October 2026 ✨ mwah, go add some pcie device objects, you absolute icon πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from