Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- include/drivers/pci.h | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/include/drivers/pci.h b/include/drivers/pci.h index 5772b79..5a7480b 100644 --- a/include/drivers/pci.h +++ b/include/drivers/pci.h @@ -3,6 +3,15 @@
typedef uint32_t pci_addr;
+typedef struct pci_range_t pci_range_t; + +struct pci_range_t { + unsigned int type; + unsigned long childaddr; + unsigned long parentaddr; + unsigned long len; +}; + typedef struct pci_arch_t pci_arch_t;
struct pci_arch_t { @@ -20,6 +29,7 @@ struct pci_arch_t { unsigned long io_len; unsigned long rbase; unsigned long rlen; + pci_range_t host_ranges[4]; uint8_t irqs[4]; };