drivers/i2c/busses/i2c-hydra.c

Source file repositories/reference/linux-study-clean/drivers/i2c/busses/i2c-hydra.c

File Facts

System
Linux kernel
Corpus path
drivers/i2c/busses/i2c-hydra.c
Extension
.c
Size
3462 bytes
Lines
151
Domain
Driver Families
Bucket
drivers/i2c
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.

Dependency Surface

Detected Declarations

Annotated Snippet

static struct pci_driver hydra_driver = {
	.name		= "hydra_smbus",
	.id_table	= hydra_ids,
	.probe		= hydra_probe,
	.remove		= hydra_remove,
};

module_pci_driver(hydra_driver);

MODULE_AUTHOR("Geert Uytterhoeven <geert@linux-m68k.org>");
MODULE_DESCRIPTION("i2c for Apple Hydra Mac I/O");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes