s390/pci: s390 specific PCI sysfs attributes
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 29 Nov 2012 13:36:55 +0000 (14:36 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 30 Nov 2012 16:47:26 +0000 (17:47 +0100)
commit1e8da9566b56e371902381f42e209df79090486e
tree19838ee72542f9c6df6bdffc76081e2358fc238b
parent7441b0627e2251370902305a204e1330a696ca04
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>
arch/s390/include/asm/pci.h
arch/s390/pci/Makefile
arch/s390/pci/pci.c
arch/s390/pci/pci_sysfs.c [new file with mode: 0644]