s390/pci: Expose new port attribute for PCIe functions
authorAlexander Schmidt <alexs@linux.ibm.com>
Fri, 28 Feb 2020 15:31:13 +0000 (10:31 -0500)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 28 Apr 2020 11:49:46 +0000 (13:49 +0200)
commite6ab7490ffaed83d6581f512e66c7c8cc6f58c2d
tree6bc7ba261847694c51d5336c6b67854f02f23c19
parentae83d0b416db002fe95601e7f97f64b59514d936
s390/pci: Expose new port attribute for PCIe functions

Add SysFS attribute that provides the port number for PCI functions
representing a single port of a multi-port device.

Signed-off-by: Alexander Schmidt <alexs@linux.ibm.com>
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/include/asm/pci_clp.h
arch/s390/pci/pci_clp.c
arch/s390/pci/pci_sysfs.c