Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_PCI_H
 3#define __ASM_PCI_H
 4
 5#include <linux/types.h>
 6#include <linux/slab.h>
 7#include <linux/dma-mapping.h>
 8
 9#include <asm/io.h>
10
11#define PCIBIOS_MIN_IO		0x1000
 
12
13/*
14 * Set to 1 if the kernel should re-assign all PCI bus numbers
15 */
16#define pcibios_assign_all_busses() \
17	(pci_has_flag(PCI_REASSIGN_ALL_BUS))
18
19#define arch_can_pci_mmap_wc() 1
20
21/* Generic PCI */
22#include <asm-generic/pci.h>
 
 
 
 
 
 
 
 
 
 
 
 
23
24#endif  /* __ASM_PCI_H */
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_PCI_H
 3#define __ASM_PCI_H
 4
 5#include <linux/types.h>
 6#include <linux/slab.h>
 7#include <linux/dma-mapping.h>
 8
 9#include <asm/io.h>
10
11#define PCIBIOS_MIN_IO		0x1000
12#define PCIBIOS_MIN_MEM		0
13
14/*
15 * Set to 1 if the kernel should re-assign all PCI bus numbers
16 */
17#define pcibios_assign_all_busses() \
18	(pci_has_flag(PCI_REASSIGN_ALL_BUS))
19
20#define ARCH_GENERIC_PCI_MMAP_RESOURCE	1
21
22extern int isa_dma_bridge_buggy;
23
24#ifdef CONFIG_PCI
25static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
26{
27	/* no legacy IRQ on arm64 */
28	return -ENODEV;
29}
30
31static inline int pci_proc_domain(struct pci_bus *bus)
32{
33	return 1;
34}
35#endif  /* CONFIG_PCI */
36
37#endif  /* __ASM_PCI_H */