1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <linux/types.h>
7 #define PCIBIOS_MIN_IO 0
8 #define PCIBIOS_MIN_MEM 0
10 #define pcibios_assign_all_busses() 1
12 extern int isa_dma_bridge_buggy;
15 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
22 #ifdef CONFIG_PCI_DOMAINS
23 static inline int pci_proc_domain(struct pci_bus *bus)
25 /* always show the domain in /proc */
28 #endif /* CONFIG_PCI */
30 #ifdef CONFIG_PCI_MSI_IRQ_DOMAIN
32 * This is a bit of an annoying hack, and it assumes we only have
33 * the virt-pci (if anything). Which is true, but still.
35 void *pci_root_bus_fwnode(struct pci_bus *bus);
36 #define pci_root_bus_fwnode pci_root_bus_fwnode
39 #endif /* __ASM_UM_PCI_H */