sym2_io_error_detected(9)
π 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 apci_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 π
- Kernel file
./drivers/scsi/sym53c8xx_2/sym_glue.cβ that's where the source lives, bestie π sym2_io_slot_dump(9)sym2_reset_workarounds(9)sym2_io_slot_reset(9)sym2_io_resume(9)
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
- 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