drivers/video/fbdev/sunxvr2500.c

Source file repositories/reference/linux-study-clean/drivers/video/fbdev/sunxvr2500.c

File Facts

System
Linux kernel
Corpus path
drivers/video/fbdev/sunxvr2500.c
Extension
.c
Size
5352 bytes
Lines
251
Domain
Driver Families
Bucket
drivers/video
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 s3d_driver = {
	.driver = {
		.suppress_bind_attrs = true,
	},
	.name		= "s3d",
	.id_table	= s3d_pci_table,
	.probe		= s3d_pci_register,
};

static int __init s3d_init(void)
{
	if (fb_modesetting_disabled("s3d"))
		return -ENODEV;

	if (fb_get_options("s3d", NULL))
		return -ENODEV;

	return pci_register_driver(&s3d_driver);
}
device_initcall(s3d_init);

Annotation

Implementation Notes