aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pci.h
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2012-11-29 14:36:55 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-30 17:47:26 +0100
commit1e8da9566b56e371902381f42e209df79090486e (patch)
tree19838ee72542f9c6df6bdffc76081e2358fc238b /arch/s390/include/asm/pci.h
parents390/pci: PCI hotplug support via SCLP (diff)
downloadlinux-dev-1e8da9566b56e371902381f42e209df79090486e.tar.xz
linux-dev-1e8da9566b56e371902381f42e209df79090486e.zip
s390/pci: s390 specific PCI sysfs attributes
Add some s390 specific sysfs attributes to the PCI device directory. The following attributes are introduced: - function_id (PCI function ID) - function_handle (PCI function handle) - pchid (PCI channel ID) - pfgid (PCI function group ID aka PCI root complex) Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci.h')
-rw-r--r--arch/s390/include/asm/pci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h
index 48ce434d6fda..a6175ad0c42f 100644
--- a/arch/s390/include/asm/pci.h
+++ b/arch/s390/include/asm/pci.h
@@ -141,6 +141,10 @@ struct zpci_dev *get_zdev(struct pci_dev *);
struct zpci_dev *get_zdev_by_fid(u32);
bool zpci_fid_present(u32);
+/* sysfs */
+int zpci_sysfs_add_device(struct device *);
+void zpci_sysfs_remove_device(struct device *);
+
/* DMA */
int zpci_dma_init(void);
void zpci_dma_exit(void);