NCR5380_maybe_reset_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NCR5380_maybe_reset_bus(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for NCR5380_maybe_reset_bus(9) β€” the function that detects and corrects bus wedge problems. It’s giving β€œSCSI bus first aid” energy, and honestly? iconic. 🩹✨

🌸 NAME 🌸

NCR5380_maybe_reset_bus β€” Detect and correct bus wedge problems. πŸ› οΈπŸ’–

✨ SYNOPSIS ✨

int NCR5380_maybe_reset_bus (struct Scsi_Host *instance );

πŸŽ€ ARGUMENTS πŸŽ€

  • instance β€” the adapter to check. 🫢

🌈 DESCRIPTION 🌈

So picture this: the system crashed, and it may have crashed with a connected target and the SCSI bus busy. 😭 First move? Check for BUS FREE phase. If it’s not free, try to abort the currently established nexus β€” which we know nothing about, btw. If that also fails, do a bus reset.

🚨 Note that a bus reset will cause the chip to assert IRQ.

Returns 0 if successful, otherwise -ENXIO. Slay. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’– source/version: ./drivers/scsi Β· date: October 2026 Β· now go be the main character of bus recovery, bestie πŸ’…βœ¨

πŸ“¦ where this page comes from