drivers/video/fbdev/sunxvr500.c

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

File Facts

System
Linux kernel
Corpus path
drivers/video/fbdev/sunxvr500.c
Extension
.c
Size
11047 bytes
Lines
443
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 e3d_driver = {
	.driver = {
		.suppress_bind_attrs = true,
	},
	.name		= "e3d",
	.id_table	= e3d_pci_table,
	.probe		= e3d_pci_register,
};

static int __init e3d_init(void)
{
	if (fb_modesetting_disabled("e3d"))
		return -ENODEV;

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

	return pci_register_driver(&e3d_driver);
}
device_initcall(e3d_init);

Annotation

Implementation Notes