--- zzzz-none-000/linux-4.4.60/arch/mips/include/asm/pci.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/arch/mips/include/asm/pci.h 2021-02-04 17:41:59.000000000 +0000 @@ -55,6 +55,7 @@ * Used by boards to register their PCI busses before the actual scanning. */ extern void register_pci_controller(struct pci_controller *hose); +extern void unregister_pci_controller(struct pci_controller *hose); /* * board supplied pci irq fixup routine @@ -123,6 +124,14 @@ } #endif /* CONFIG_PCI_DOMAINS */ +extern void pcibios_reset_busno(void); + +#ifdef CONFIG_AVM_PCI_RECOVERY +extern void ath_pci_reset(void); +extern void ath_pci_down(void); +extern void ath_pci_up(void); +#endif + #endif /* __KERNEL__ */ /* implement the pci_ DMA API in terms of the generic device dma_ one */