drivers/scsi/g_NCR5380.c
Source file repositories/reference/linux-study-clean/drivers/scsi/g_NCR5380.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/g_NCR5380.c- Extension
.c- Size
- 21629 bytes
- Lines
- 820
- Domain
- Driver Families
- Bucket
- drivers/scsi
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm/io.hlinux/blkdev.hlinux/module.hscsi/scsi_host.hlinux/init.hlinux/ioport.hlinux/isa.hlinux/pnp.hlinux/interrupt.hNCR5380.hNCR5380.c
Detected Declarations
function g_NCR5380_trigger_irqfunction g_NCR5380_probe_irqfunction magic_configurefunction legacy_empty_irq_handlerfunction legacy_find_free_irqfunction generic_NCR5380_init_onefunction generic_NCR5380_release_resourcesfunction wait_for_53c80_accessfunction generic_NCR5380_precvfunction generic_NCR5380_psendfunction generic_NCR5380_dma_xfer_lenfunction generic_NCR5380_dma_residualfunction generic_NCR5380_isa_matchfunction generic_NCR5380_isa_removefunction generic_NCR5380_pnp_probefunction generic_NCR5380_pnp_removefunction generic_NCR5380_initfunction generic_NCR5380_exitmodule init generic_NCR5380_init
Annotated Snippet
module_init(generic_NCR5380_init);
module_exit(generic_NCR5380_exit);
Annotation
- Immediate include surface: `asm/io.h`, `linux/blkdev.h`, `linux/module.h`, `scsi/scsi_host.h`, `linux/init.h`, `linux/ioport.h`, `linux/isa.h`, `linux/pnp.h`.
- Detected declarations: `function g_NCR5380_trigger_irq`, `function g_NCR5380_probe_irq`, `function magic_configure`, `function legacy_empty_irq_handler`, `function legacy_find_free_irq`, `function generic_NCR5380_init_one`, `function generic_NCR5380_release_resources`, `function wait_for_53c80_access`, `function generic_NCR5380_precv`, `function generic_NCR5380_psend`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.