Skip to content
Snippets Groups Projects
pci-uclass.c 23.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • 	.name		= "pci_bridge_drv",
    	.id		= UCLASS_PCI,
    	.of_match	= pci_bridge_ids,
    	.ops		= &pci_bridge_ops,
    };
    
    UCLASS_DRIVER(pci_generic) = {
    	.id		= UCLASS_PCI_GENERIC,
    	.name		= "pci_generic",
    };
    
    static const struct udevice_id pci_generic_ids[] = {
    	{ .compatible = "pci-generic" },
    	{ }
    };
    
    U_BOOT_DRIVER(pci_generic_drv) = {
    	.name		= "pci_generic_drv",
    	.id		= UCLASS_PCI_GENERIC,
    	.of_match	= pci_generic_ids,
    };