sym2_io_error_detected(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sym2_io_error_detected ✨

okay so bestie, you're reading the Kernel API Manual, section 9, and this page is literally all about sym2_io_error_detected β€” the function that gets called when a PCI error is detected. yes, that kind of error. the "something went wrong at the hardware level" kind. 🫢


🌸 NAME 🌸

sym2_io_error_detected β€” called when PCI error is detected πŸ’€

like, that's the whole job. it gets pinged the moment the system notices a PCI error, and then it's main character time.


✨ SYNOPSIS ✨

pci_ers_result_t sym2_io_error_detected (struct pci_dev *pdev ,
       pci_channel_state_t state );

look at her go πŸŽ€ it takes two things and returns a pci_ers_result_t, which is the function's way of reporting back what happened. iconic.


🧚 ARGUMENTS 🧚

  • pdev β€” pointer to PCI device πŸ‘‘ like, the actual device we're talking about here. a pointer to it. pointing at it. very demure.
  • state β€” current state of the PCI slot 🌈 that's the vibe check on the slot itself, handed to you as a pci_channel_state_t.
ngl, both of these are handed to you by the caller β€” you're not out here hunting them down yourself. πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

fr fr go read those next, they're all part of the same little friend group πŸ’œ


and that's the page!! 🌟 this one's from ./drivers/scsi/sym53c8xx_2, dated October 2026, and it's filed under sym2_io_error_detected(9) β€” mwah, caught you up, bye bestie πŸŽ€πŸ’–

πŸ“¦ where this page comes from