drivers/net/phy/fixed_phy.c

Source file repositories/reference/linux-study-clean/drivers/net/phy/fixed_phy.c

File Facts

System
Linux kernel
Corpus path
drivers/net/phy/fixed_phy.c
Extension
.c
Size
5053 bytes
Lines
231
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.

Dependency Surface

Detected Declarations

Annotated Snippet

module_init(fixed_mdio_bus_init);

static void __exit fixed_mdio_bus_exit(void)
{
	mdiobus_unregister(fmb_mii_bus);
	mdiobus_free(fmb_mii_bus);
}
module_exit(fixed_mdio_bus_exit);

MODULE_DESCRIPTION("Fixed MDIO bus (MDIO bus emulation with fixed PHYs)");
MODULE_AUTHOR("Vitaly Bordug");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes