OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 4141... | Line 4141... | |||
4141 | + |
4141 | + |
|
4142 | +#endif /* IFXMIPS_PCIE_VR9_H */ |
4142 | +#endif /* IFXMIPS_PCIE_VR9_H */ |
|
4143 | + |
4143 | + |
|
4144 | --- a/arch/mips/pci/pci-legacy.c |
4144 | --- a/arch/mips/pci/pci-legacy.c |
|
4145 | +++ b/arch/mips/pci/pci-legacy.c |
4145 | +++ b/arch/mips/pci/pci-legacy.c |
|
4146 | @@ -313,3 +313,30 @@ char *__init pcibios_setup(char *str) |
4146 | @@ -309,3 +309,30 @@ char *__init pcibios_setup(char *str) |
|
4147 | return pcibios_plat_setup(str); |
4147 | return pcibios_plat_setup(str); |
|
4148 | return str; |
4148 | return str; |
|
4149 | } |
4149 | } |
|
4150 | + |
4150 | + |
|
4151 | +int pcibios_host_nr(void) |
4151 | +int pcibios_host_nr(void) |
|
Line 5492... | Line 5492... | |||
5492 | help |
5492 | help |
|
5493 | Used to override firmware/bios settings for PCI Express ECRC |
5493 | Used to override firmware/bios settings for PCI Express ECRC |
|
5494 | (transaction layer end-to-end CRC checking). |
5494 | (transaction layer end-to-end CRC checking). |
|
5495 | --- a/include/linux/pci.h |
5495 | --- a/include/linux/pci.h |
|
5496 | +++ b/include/linux/pci.h |
5496 | +++ b/include/linux/pci.h |
|
5497 | @@ -1302,6 +1302,8 @@ void pci_walk_bus(struct pci_bus *top, i |
5497 | @@ -1300,6 +1300,8 @@ void pci_walk_bus(struct pci_bus *top, i |
|
5498 | void *userdata); |
5498 | void *userdata); |
|
5499 | int pci_cfg_space_size(struct pci_dev *dev); |
5499 | int pci_cfg_space_size(struct pci_dev *dev); |
|
5500 | unsigned char pci_bus_max_busnr(struct pci_bus *bus); |
5500 | unsigned char pci_bus_max_busnr(struct pci_bus *bus); |
|
5501 | +int pcibios_host_nr(void); |
5501 | +int pcibios_host_nr(void); |
|
5502 | +int pcibios_1st_host_bus_nr(void); |
5502 | +int pcibios_1st_host_bus_nr(void); |