1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __ASM_CSKY_PCI_H
4 #define __ASM_CSKY_PCI_H
6 #include <linux/types.h>
7 #include <linux/slab.h>
8 #include <linux/dma-mapping.h>
12 #define PCIBIOS_MIN_IO 0
13 #define PCIBIOS_MIN_MEM 0
15 /* C-SKY shim does not initialize PCI bus */
16 #define pcibios_assign_all_busses() 1
18 extern int isa_dma_bridge_buggy
;
21 static inline int pci_get_legacy_ide_irq(struct pci_dev
*dev
, int channel
)
23 /* no legacy IRQ on csky */
27 static inline int pci_proc_domain(struct pci_bus
*bus
)
29 /* always show the domain in /proc */
32 #endif /* CONFIG_PCI */
34 #endif /* __ASM_CSKY_PCI_H */