WIP FPC-III support
[linux/fpc-iii.git] / arch / csky / include / asm / pci.h
blobebc765b1f78b5f1f71b9eded7da3f60d2fcf25e1
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>
10 #include <asm/io.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;
20 #ifdef CONFIG_PCI
21 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
23 /* no legacy IRQ on csky */
24 return -ENODEV;
27 static inline int pci_proc_domain(struct pci_bus *bus)
29 /* always show the domain in /proc */
30 return 1;
32 #endif /* CONFIG_PCI */
34 #endif /* __ASM_CSKY_PCI_H */