drivers/watchdog/softdog.c

Source file repositories/reference/linux-study-clean/drivers/watchdog/softdog.c

File Facts

System
Linux kernel
Corpus path
drivers/watchdog/softdog.c
Extension
.c
Size
6324 bytes
Lines
223
Domain
Driver Families
Bucket
drivers/watchdog
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(softdog_init);

static void __exit softdog_exit(void)
{
	watchdog_unregister_device(&softdog_dev);
}
module_exit(softdog_exit);

MODULE_AUTHOR("Alan Cox");
MODULE_DESCRIPTION("Software Watchdog Device Driver");
MODULE_LICENSE("GPL");

Annotation

Implementation Notes