]> Git Repo - J-linux.git/blob - arch/sparc/include/asm/pci_32.h
mm, x86: Saving vmcore with non-lazy freeing of vmas
[J-linux.git] / arch / sparc / include / asm / pci_32.h
1 #ifndef __SPARC_PCI_H
2 #define __SPARC_PCI_H
3
4 #ifdef __KERNEL__
5
6 #include <linux/dma-mapping.h>
7
8 /* Can be used to override the logic in pci_scan_bus for skipping
9  * already-configured bus numbers - to be used for buggy BIOSes
10  * or architectures with incomplete PCI setup by the loader.
11  */
12 #define pcibios_assign_all_busses()     0
13
14 #define PCIBIOS_MIN_IO          0UL
15 #define PCIBIOS_MIN_MEM         0UL
16
17 #define PCI_IRQ_NONE            0xffffffff
18
19 static inline void pcibios_set_master(struct pci_dev *dev)
20 {
21         /* No special bus mastering setup handling */
22 }
23
24 static inline void pcibios_penalize_isa_irq(int irq, int active)
25 {
26         /* We don't do dynamic PCI IRQ allocation */
27 }
28
29 /* Dynamic DMA mapping stuff.
30  */
31 #define PCI_DMA_BUS_IS_PHYS     (0)
32
33 struct pci_dev;
34
35 #ifdef CONFIG_PCI
36 static inline void pci_dma_burst_advice(struct pci_dev *pdev,
37                                         enum pci_dma_burst_strategy *strat,
38                                         unsigned long *strategy_parameter)
39 {
40         *strat = PCI_DMA_BURST_INFINITY;
41         *strategy_parameter = ~0UL;
42 }
43 #endif
44
45 struct device_node;
46 extern struct device_node *pci_device_to_OF_node(struct pci_dev *pdev);
47
48 #endif /* __KERNEL__ */
49
50 /* generic pci stuff */
51 #include <asm-generic/pci.h>
52
53 #endif /* __SPARC_PCI_H */
This page took 0.030242 seconds and 4 git commands to generate.