Subversion Repositories Kolibri OS

Rev

Rev 6934 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6934 Rev 7143
Line 18... Line 18...
18
	struct acpi_device *companion;	/* ACPI companion device */
18
	struct acpi_device *companion;	/* ACPI companion device */
19
#endif
19
#endif
20
#ifdef CONFIG_X86_64
20
#ifdef CONFIG_X86_64
21
	void		*iommu;		/* IOMMU private data */
21
	void		*iommu;		/* IOMMU private data */
22
#endif
22
#endif
-
 
23
#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN
-
 
24
	void		*fwnode;	/* IRQ domain for MSI assignment */
-
 
25
#endif
23
};
26
};
Line 24... Line 27...
24
 
27
 
25
extern int pci_routeirq;
28
extern int pci_routeirq;
26
extern int noioapicquirk;
29
extern int noioapicquirk;
Line 30... Line 33...
30
 
33
 
31
#ifdef CONFIG_PCI_DOMAINS
34
#ifdef CONFIG_PCI_DOMAINS
32
static inline int pci_domain_nr(struct pci_bus *bus)
35
static inline int pci_domain_nr(struct pci_bus *bus)
33
{
36
{
-
 
37
	struct pci_sysdata *sd = bus->sysdata;
34
	struct pci_sysdata *sd = bus->sysdata;
38
 
35
	return sd->domain;
39
	return sd->domain;
Line 36... Line 40...
36
}
40
}
37
 
41
 
38
static inline int pci_proc_domain(struct pci_bus *bus)
42
static inline int pci_proc_domain(struct pci_bus *bus)
39
{
43
{
40
	return pci_domain_nr(bus);
44
	return pci_domain_nr(bus);
Line -... Line 45...
-
 
45
}
-
 
46
#endif
-
 
47
 
-
 
48
#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN
-
 
49
static inline void *_pci_root_bus_fwnode(struct pci_bus *bus)
-
 
50
{
-
 
51
	struct pci_sysdata *sd = bus->sysdata;
-
 
52
 
-
 
53
	return sd->fwnode;
-
 
54
}
-
 
55
 
41
}
56
#define pci_root_bus_fwnode	_pci_root_bus_fwnode
42
#endif
57
#endif
43
 
58
 
Line 44... Line 59...
44
/* Can be used to override the logic in pci_scan_bus for skipping
59
/* Can be used to override the logic in pci_scan_bus for skipping
Line 103... Line 118...
103
 
118
 
104
#ifdef CONFIG_X86_64
119
#ifdef CONFIG_X86_64
105
#include 
120
#include 
Line 106... Line -...
106
#endif
-
 
107
 
-
 
108
/* implement the pci_ DMA API in terms of the generic device dma_ one */
-
 
109
#include 
121
#endif
110
 
122
 
Line 111... Line 123...
111
/* generic pci stuff */
123
/* generic pci stuff */
112
#include 
124
#include