]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07fc5964ac935a8f145b4eee04bd24488fbb7fe9
tree6bc7ba261847694c51d5336c6b67854f02f23c19
parent9b3ba36095d0fe4ace7a94fa411734a70b2bcbe8
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