X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fpci.h;h=072273be572b1e7f14773cb865087736044ba4ce;hb=e70ef33b6b57a37d56745904495fe298d2ecf03b;hp=eebe8a8a548c4785c6361f3ebe80afa72d43fdce;hpb=d35c451d6cff3e77e40fbdfc7a2933cdcb86ae4b;p=oweals%2Fu-boot.git diff --git a/include/pci.h b/include/pci.h index eebe8a8a54..072273be57 100644 --- a/include/pci.h +++ b/include/pci.h @@ -382,6 +382,8 @@ extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t dev #define MAX_PCI_REGIONS 7 +#define INDIRECT_TYPE_NO_PCIE_LINK 1 + /* * Structure of a PCI controller (host bridge) */ @@ -394,6 +396,8 @@ struct pci_controller { volatile unsigned int *cfg_addr; volatile unsigned char *cfg_data; + int indirect_type; + struct pci_region regions[MAX_PCI_REGIONS]; int region_count;