drivers/edac/mpc85xx_edac.c
Source file repositories/reference/linux-study-clean/drivers/edac/mpc85xx_edac.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/edac/mpc85xx_edac.c- Extension
.c- Size
- 19871 bytes
- Lines
- 712
- Domain
- Driver Families
- Bucket
- drivers/edac
- 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/init.hlinux/interrupt.hlinux/ctype.hlinux/io.hlinux/mod_devicetable.hlinux/edac.hlinux/smp.hlinux/gfp.hlinux/fsl/edac.hlinux/of.hlinux/of_address.hlinux/of_irq.hedac_module.hmpc85xx_edac.hfsl_ddr_edac.h
Detected Declarations
function mpc85xx_pci_checkfunction mpc85xx_pcie_checkfunction mpc85xx_pcie_find_capabilityfunction mpc85xx_pci_isrfunction mpc85xx_pci_err_probefunction mpc85xx_pci_err_removefunction mpc85xx_l2_inject_data_hi_showfunction mpc85xx_l2_inject_data_lo_showfunction mpc85xx_l2_inject_ctrl_showfunction mpc85xx_l2_inject_data_hi_storefunction mpc85xx_l2_inject_data_lo_storefunction mpc85xx_l2_inject_ctrl_storefunction mpc85xx_set_l2_sysfs_attributesfunction mpc85xx_l2_checkfunction mpc85xx_l2_isrfunction mpc85xx_l2_err_probefunction mpc85xx_l2_err_removefunction mpc85xx_mc_initfunction mpc85xx_mc_exitmodule init mpc85xx_mc_init
Annotated Snippet
module_init(mpc85xx_mc_init);
static void __exit mpc85xx_mc_exit(void)
{
platform_unregister_drivers(drivers, ARRAY_SIZE(drivers));
}
module_exit(mpc85xx_mc_exit);
MODULE_DESCRIPTION("Freescale MPC85xx Memory Controller EDAC driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Montavista Software, Inc.");
module_param(edac_op_state, int, 0444);
MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll, 2=Interrupt");
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/interrupt.h`, `linux/ctype.h`, `linux/io.h`, `linux/mod_devicetable.h`, `linux/edac.h`, `linux/smp.h`.
- Detected declarations: `function mpc85xx_pci_check`, `function mpc85xx_pcie_check`, `function mpc85xx_pcie_find_capability`, `function mpc85xx_pci_isr`, `function mpc85xx_pci_err_probe`, `function mpc85xx_pci_err_remove`, `function mpc85xx_l2_inject_data_hi_show`, `function mpc85xx_l2_inject_data_lo_show`, `function mpc85xx_l2_inject_ctrl_show`, `function mpc85xx_l2_inject_data_hi_store`.
- Atlas domain: Driver Families / drivers/edac.
- 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.