summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sun4v.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-09 22:20:01 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:12:12 -0800
commit7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd (patch)
treebc308c82a5670163470b44b6f339d1b379a97347 /arch/sparc64/kernel/pci_sun4v.h
parentbade5622167181844cd4e60087971c1f949e149f (diff)
downloadblackbird-op-linux-7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd.tar.gz
blackbird-op-linux-7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd.zip
[SPARC64]: Implement SUN4V PCI config space access.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.h')
-rw-r--r--arch/sparc64/kernel/pci_sun4v.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.h b/arch/sparc64/kernel/pci_sun4v.h
index d3ac7ece4b31..5c7ed2ca1505 100644
--- a/arch/sparc64/kernel/pci_sun4v.h
+++ b/arch/sparc64/kernel/pci_sun4v.h
@@ -16,5 +16,14 @@ extern unsigned long pci_sun4v_iommu_map(unsigned long devhandle,
extern unsigned long pci_sun4v_iommu_demap(unsigned long devhandle,
unsigned long tsbid,
unsigned long num_ttes);
+extern unsigned long pci_sun4v_config_get(unsigned long devhandle,
+ unsigned long pci_device,
+ unsigned long config_offset,
+ unsigned long size);
+extern int pci_sun4v_config_put(unsigned long devhandle,
+ unsigned long pci_device,
+ unsigned long config_offset,
+ unsigned long size,
+ unsigned long data);
#endif /* !(_PCI_SUN4V_H) */
OpenPOWER on IntegriCloud