NCR5380_maybe_reset_bus(9)
π
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 π¦
- Kernel file
./drivers/scsi/NCR5380.c initialize_SCp(9)NCR5380_poll_politely2(9)NCR5380_print(9)NCR5380_print_phase(9)NCR5380_info(9)NCR5380_init(9)NCR5380_exit(9)complete_cmd(9)NCR5380_queue_command(9)dequeue_next_cmd(9)NCR5380_main(9)NCR5380_intr(9)NCR5380_select(9)NCR5380_transfer_pio(9)do_reset(9)do_abort(9)list_find_cmd(9)NCR5380_abort(9)NCR5380_host_reset(9)
π source/version: ./drivers/scsi Β· date: October 2026 Β· now go be the main character of bus recovery, 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