drivers/net/ethernet/broadcom/bgmac-bcma.c
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/broadcom/bgmac-bcma.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/broadcom/bgmac-bcma.c- Extension
.c- Size
- 9851 bytes
- Lines
- 367
- Domain
- Driver Families
- Bucket
- drivers/net
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bcma/bcma.hlinux/brcmphy.hlinux/etherdevice.hlinux/of_mdio.hlinux/of_net.hbgmac.h
Detected Declarations
function bcma_bgmac_readfunction bcma_bgmac_writefunction bcma_bgmac_idm_readfunction bcma_bgmac_idm_writefunction bcma_bgmac_clk_enabledfunction bcma_bgmac_clk_enablefunction bcma_bgmac_cco_ctl_masksetfunction bcma_bgmac_get_bus_clockfunction bcma_bgmac_cmn_maskset32function bcma_phy_connectfunction bgmac_probefunction bgmac_removefunction bgmac_initfunction bgmac_exitmodule init bgmac_init
Annotated Snippet
module_init(bgmac_init)
module_exit(bgmac_exit)
MODULE_AUTHOR("Rafał Miłecki");
MODULE_DESCRIPTION("Broadcom iProc GBit BCMA interface driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/bcma/bcma.h`, `linux/brcmphy.h`, `linux/etherdevice.h`, `linux/of_mdio.h`, `linux/of_net.h`, `bgmac.h`.
- Detected declarations: `function bcma_bgmac_read`, `function bcma_bgmac_write`, `function bcma_bgmac_idm_read`, `function bcma_bgmac_idm_write`, `function bcma_bgmac_clk_enabled`, `function bcma_bgmac_clk_enable`, `function bcma_bgmac_cco_ctl_maskset`, `function bcma_bgmac_get_bus_clock`, `function bcma_bgmac_cmn_maskset32`, `function bcma_phy_connect`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
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.