diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.h')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.h b/arch/sparc64/kernel/pci_sun4v.h new file mode 100644 index 000000000000..d3ac7ece4b31 --- /dev/null +++ b/arch/sparc64/kernel/pci_sun4v.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* pci_sun4v.h: SUN4V specific PCI controller support. | ||
2 | * | ||
3 | * Copyright (C) 2006 David S. Miller (davem@davemloft.net) | ||
4 | */ | ||
5 | |||
6 | #ifndef _PCI_SUN4V_H | ||
7 | #define _PCI_SUN4V_H | ||
8 | |||
9 | extern unsigned long pci_sun4v_devino_to_sysino(unsigned long devhandle, | ||
10 | unsigned long deino); | ||
11 | extern unsigned long pci_sun4v_iommu_map(unsigned long devhandle, | ||
12 | unsigned long tsbid, | ||
13 | unsigned long num_ttes, | ||
14 | unsigned long io_attributes, | ||
15 | unsigned long io_page_list_pa); | ||
16 | extern unsigned long pci_sun4v_iommu_demap(unsigned long devhandle, | ||
17 | unsigned long tsbid, | ||
18 | unsigned long num_ttes); | ||
19 | |||
20 | #endif /* !(_PCI_SUN4V_H) */ | ||