drivers/scsi/qlogicfas408.c
Source file repositories/reference/linux-study-clean/drivers/scsi/qlogicfas408.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/qlogicfas408.c- Extension
.c- Size
- 15232 bytes
- Lines
- 645
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/blkdev.hlinux/kernel.hlinux/string.hlinux/init.hlinux/interrupt.hlinux/ioport.hlinux/proc_fs.hlinux/unistd.hlinux/spinlock.hlinux/stat.hasm/io.hasm/irq.hasm/dma.hscsi/scsi.hscsi/scsi_cmnd.hscsi/scsi_device.hscsi/scsi_eh.hscsi/scsi_host.hscsi/scsi_tcq.hqlogicfas408.h
Detected Declarations
function ql_zapfunction ql_pdmafunction rtrcfunction rtrcfunction flagfunction ql_icmdfunction ql_pcmdfunction leftfunction scsi_for_each_sgfunction irqfunction ql_ihandlfunction qlogicfas408_ihandlfunction qlogicfas408_queuecommand_lckfunction qlogicfas408_biosparamfunction qlogicfas408_abortfunction qlogicfas408_host_resetfunction qlogicfas408_get_chip_typefunction qlogicfas408_setupfunction qlogicfas408_detectfunction qlogicfas408_disable_intsfunction qlogicfas408_initfunction qlogicfas408_exitmodule init qlogicfas408_initexport qlogicfas408_infoexport qlogicfas408_queuecommandexport qlogicfas408_abortexport qlogicfas408_host_resetexport qlogicfas408_biosparamexport qlogicfas408_ihandlexport qlogicfas408_get_chip_typeexport qlogicfas408_setupexport qlogicfas408_detectexport qlogicfas408_disable_ints
Annotated Snippet
module_init(qlogicfas408_init);
module_exit(qlogicfas408_exit);
EXPORT_SYMBOL(qlogicfas408_info);
EXPORT_SYMBOL(qlogicfas408_queuecommand);
EXPORT_SYMBOL(qlogicfas408_abort);
EXPORT_SYMBOL(qlogicfas408_host_reset);
EXPORT_SYMBOL(qlogicfas408_biosparam);
EXPORT_SYMBOL(qlogicfas408_ihandl);
EXPORT_SYMBOL(qlogicfas408_get_chip_type);
EXPORT_SYMBOL(qlogicfas408_setup);
EXPORT_SYMBOL(qlogicfas408_detect);
EXPORT_SYMBOL(qlogicfas408_disable_ints);
Annotation
- Immediate include surface: `linux/module.h`, `linux/blkdev.h`, `linux/kernel.h`, `linux/string.h`, `linux/init.h`, `linux/interrupt.h`, `linux/ioport.h`, `linux/proc_fs.h`.
- Detected declarations: `function ql_zap`, `function ql_pdma`, `function rtrc`, `function rtrc`, `function flag`, `function ql_icmd`, `function ql_pcmd`, `function left`, `function scsi_for_each_sg`, `function irq`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.