--- zzzz-none-000/linux-4.4.271/arch/mips/include/asm/pci.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/arch/mips/include/asm/pci.h 2023-04-19 10:22:28.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 */