drivers/scsi/a100u2w.c
Source file repositories/reference/linux-study-clean/drivers/scsi/a100u2w.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/a100u2w.c- Extension
.c- Size
- 36471 bytes
- Lines
- 1227
- Domain
- Driver Families
- Bucket
- drivers/scsi
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- 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/errno.hlinux/delay.hlinux/interrupt.hlinux/pci.hlinux/init.hlinux/blkdev.hlinux/spinlock.hlinux/kernel.hlinux/string.hlinux/ioport.hlinux/dma-mapping.hasm/io.hasm/irq.hscsi/scsi.hscsi/scsi_cmnd.hscsi/scsi_device.hscsi/scsi_host.ha100u2w.h
Detected Declarations
function wait_chip_readyfunction wait_firmware_readyfunction wait_scsi_reset_donefunction wait_HDO_offfunction wait_hdi_setfunction orc_read_fwrevfunction orc_nv_writefunction orc_nv_readfunction orc_exec_scbfunction se2_rd_allfunction se2_update_allfunction read_eepromfunction orc_load_firmwarefunction setup_SCBsfunction init_alloc_mapfunction init_orchidfunction orc_reset_scsi_busfunction orc_device_resetfunction orc_release_scbfunction orchid_abort_scbfunction inia100_abort_cmdfunction orc_interruptfunction inia100_build_scbfunction scsi_for_each_sgfunction inia100_queue_lckfunction DEF_SCSI_QCMDfunction inia100_bus_resetfunction inia100_device_resetfunction inia100_scb_handlerfunction inia100_intrfunction inia100_probe_onefunction inia100_remove_one
Annotated Snippet
static struct pci_driver inia100_pci_driver = {
.name = "inia100",
.id_table = inia100_pci_tbl,
.probe = inia100_probe_one,
.remove = inia100_remove_one,
};
module_pci_driver(inia100_pci_driver);
MODULE_DESCRIPTION("Initio A100U2W SCSI driver");
MODULE_AUTHOR("Initio Corporation");
MODULE_LICENSE("Dual BSD/GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/errno.h`, `linux/delay.h`, `linux/interrupt.h`, `linux/pci.h`, `linux/init.h`, `linux/blkdev.h`, `linux/spinlock.h`.
- Detected declarations: `function wait_chip_ready`, `function wait_firmware_ready`, `function wait_scsi_reset_done`, `function wait_HDO_off`, `function wait_hdi_set`, `function orc_read_fwrev`, `function orc_nv_write`, `function orc_nv_read`, `function orc_exec_scb`, `function se2_rd_all`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: pattern 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.