drivers/tty/serial/serial_ctrl.c

Source file repositories/reference/linux-study-clean/drivers/tty/serial/serial_ctrl.c

File Facts

System
Linux kernel
Corpus path
drivers/tty/serial/serial_ctrl.c
Extension
.c
Size
1605 bytes
Lines
69
Domain
Driver Families
Bucket
drivers/tty
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 device_driver serial_ctrl_driver = {
	.name = "ctrl",
	.suppress_bind_attrs = true,
	.probe = serial_ctrl_probe,
	.remove = serial_ctrl_remove,
};

int serial_base_ctrl_init(void)
{
	return serial_base_driver_register(&serial_ctrl_driver);
}

void serial_base_ctrl_exit(void)
{
	serial_base_driver_unregister(&serial_ctrl_driver);
}

MODULE_AUTHOR("Tony Lindgren <tony@atomide.com>");
MODULE_DESCRIPTION("Serial core controller driver");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes