drivers/scsi/arm/cumana_1.c
Source file repositories/reference/linux-study-clean/drivers/scsi/arm/cumana_1.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/arm/cumana_1.c- Extension
.c- Size
- 7928 bytes
- Lines
- 342
- 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
linux/module.hlinux/ioport.hlinux/blkdev.hlinux/init.hasm/ecard.hasm/io.hscsi/scsi_host.h../NCR5380.h../NCR5380.c
Detected Declarations
struct NCR5380_hostdatafunction cumanascsi_pwritefunction cumanascsi_preadfunction cumanascsi_dma_xfer_lenfunction cumanascsi_readfunction cumanascsi_writefunction cumanascsi1_probefunction cumanascsi1_removefunction cumanascsi_initfunction cumanascsi_exitmodule init cumanascsi_init
Annotated Snippet
module_init(cumanascsi_init);
module_exit(cumanascsi_exit);
MODULE_DESCRIPTION("Cumana SCSI-1 driver for Acorn machines");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/ioport.h`, `linux/blkdev.h`, `linux/init.h`, `asm/ecard.h`, `asm/io.h`, `scsi/scsi_host.h`, `../NCR5380.h`.
- Detected declarations: `struct NCR5380_hostdata`, `function cumanascsi_pwrite`, `function cumanascsi_pread`, `function cumanascsi_dma_xfer_len`, `function cumanascsi_read`, `function cumanascsi_write`, `function cumanascsi1_probe`, `function cumanascsi1_remove`, `function cumanascsi_init`, `function cumanascsi_exit`.
- 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.