/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_IA64_PCI_H #define _ASM_IA64_PCI_H #include <linux/mm.h> #include <linux/slab.h> #include <linux/spinlock.h> #include <linux/string.h> #include <linux/types.h> #include <linux/scatterlist.h> #include <asm/io.h> #include <asm/hw_irq.h> struct pci_vector_struct { __u16 segment; /* PCI Segment number */ __u16 bus; /* PCI Bus number */ __u32 pci_id; /* ACPI split 16 bits device, 16 bits function (see section 6.1.1) */ __u8 pin; /* PCI PIN (0 = A, 1 = B, 2 = C, 3 = D) */ __u32 irq; /* IRQ assigned */ }; /* * Can be used to override the logic in pci_scan_bus for skipping already-configured bus * numbers - to be used for buggy BIOSes or architectures with incomplete PCI setup by the * loader. */ #define pcibios_assign_all_busses() 0 #define PCIBIOS_MIN_IO 0x1000 #define PCIBIOS_MIN_MEM 0x10000000 #define HAVE_PCI_MMAP #define ARCH_GENERIC_PCI_MMAP_RESOURCE #define arch_can_pci_mmap_wc() 1 #define HAVE_PCI_LEGACY extern int pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma, enum pci_mmap_state mmap_state); #define pci_get_legacy_mem platform_pci_get_legacy_mem #define pci_legacy_read platform_pci_legacy_read #define pci_legacy_write platform_pci_legacy_write struct pci_controller { struct acpi_device *companion; void *iommu; int segment; int node; /* nearest node with memory or NUMA_NO_NODE for global allocation */ void *platform_data; }; #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata) #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment) extern struct pci_ops pci_root_ops;
static inline int pci_proc_domain(struct pci_bus *bus) { return (pci_domain_nr(bus) != 0); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Matthew Wilcox | 22 | 100.00% | 2 | 100.00% |
Total | 22 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Bartlomiej Zolnierkiewicz | 22 | 78.57% | 1 | 50.00% |
Yanmin Zhang | 6 | 21.43% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 35 | 15.42% | 2 | 8.33% |
Jesse Barnes | 31 | 13.66% | 1 | 4.17% |
Alex Williamson | 27 | 11.89% | 1 | 4.17% |
Bartlomiej Zolnierkiewicz | 25 | 11.01% | 1 | 4.17% |
David Howells | 25 | 11.01% | 1 | 4.17% |
Matthew Wilcox | 23 | 10.13% | 3 | 12.50% |
Fenghua Yu | 11 | 4.85% | 1 | 4.17% |
Yanmin Zhang | 9 | 3.96% | 1 | 4.17% |
Patrick Gefre | 9 | 3.96% | 2 | 8.33% |
David Woodhouse | 8 | 3.52% | 2 | 8.33% |
David Mosberger-Tang | 6 | 2.64% | 1 | 4.17% |
Linus Torvalds | 4 | 1.76% | 1 | 4.17% |
Rafael J. Wysocki | 3 | 1.32% | 1 | 4.17% |
Christoph Lameter | 3 | 1.32% | 1 | 4.17% |
Benjamin Herrenschmidt | 3 | 1.32% | 1 | 4.17% |
Christoph Hellwig | 2 | 0.88% | 1 | 4.17% |
Björn Helgaas | 1 | 0.44% | 1 | 4.17% |
Suresh B. Siddha | 1 | 0.44% | 1 | 4.17% |
Greg Kroah-Hartman | 1 | 0.44% | 1 | 4.17% |
Total | 227 | 100.00% | 24 | 100.00% |