drivers/net/wireless/intersil/p54/p54pci.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/intersil/p54/p54pci.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/intersil/p54/p54pci.c- Extension
.c- Size
- 17057 bytes
- Lines
- 709
- Domain
- Driver Families
- Bucket
- drivers/net
- 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/pci.hlinux/slab.hlinux/firmware.hlinux/etherdevice.hlinux/delay.hlinux/completion.hlinux/module.hnet/mac80211.hp54.hlmac.hp54pci.h
Detected Declarations
function p54p_upload_firmwarefunction p54p_refill_rx_ringfunction p54p_check_rx_ringfunction p54p_check_tx_ringfunction p54p_taskletfunction p54p_interruptfunction p54p_txfunction p54p_stopfunction p54p_openfunction p54p_firmware_step2function p54p_probefunction p54p_removefunction p54p_suspendfunction p54p_resume
Annotated Snippet
static struct pci_driver p54p_driver = {
.name = "p54pci",
.id_table = p54p_table,
.probe = p54p_probe,
.remove = p54p_remove,
.driver.pm = P54P_PM_OPS,
};
module_pci_driver(p54p_driver);
Annotation
- Immediate include surface: `linux/pci.h`, `linux/slab.h`, `linux/firmware.h`, `linux/etherdevice.h`, `linux/delay.h`, `linux/completion.h`, `linux/module.h`, `net/mac80211.h`.
- Detected declarations: `function p54p_upload_firmware`, `function p54p_refill_rx_ring`, `function p54p_check_rx_ring`, `function p54p_check_tx_ring`, `function p54p_tasklet`, `function p54p_interrupt`, `function p54p_tx`, `function p54p_stop`, `function p54p_open`, `function p54p_firmware_step2`.
- Atlas domain: Driver Families / drivers/net.
- 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.