pci.h (f43dc23d5ea91fca257be02138a255f02d98e806) | pci.h (68f5d3f3b6543266b29e047cfaf9842333019b4c) |
---|---|
1#ifndef __UM_PCI_H 2#define __UM_PCI_H | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2#ifndef __ASM_UM_PCI_H 3#define __ASM_UM_PCI_H 4#include <linux/types.h> 5#include <asm/io.h> |
3 | 6 |
4#define PCI_DMA_BUS_IS_PHYS (1) | 7#define PCIBIOS_MIN_IO 0 8#define PCIBIOS_MIN_MEM 0 |
5 | 9 |
10#define pcibios_assign_all_busses() 1 11 12extern int isa_dma_bridge_buggy; 13 14#ifdef CONFIG_PCI 15static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) 16{ 17 /* no legacy IRQs */ 18 return -ENODEV; 19} |
|
6#endif | 20#endif |
21 22#ifdef CONFIG_PCI_DOMAINS 23static inline int pci_proc_domain(struct pci_bus *bus) 24{ 25 /* always show the domain in /proc */ 26 return 1; 27} 28#endif /* CONFIG_PCI */ 29 30#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN 31/* 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. 34 */ 35void *pci_root_bus_fwnode(struct pci_bus *bus); 36#define pci_root_bus_fwnode pci_root_bus_fwnode 37#endif 38 39#endif /* __ASM_UM_PCI_H */ |
|