]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: pci slots information is not populated in sysfs
authorEric Snowberg <eric.snowberg@oracle.com>
Wed, 27 May 2015 15:59:19 +0000 (11:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 05:14:40 +0000 (22:14 -0700)
commitf63f8e801c593598645f6a239b7c641199d80906
treef1ff5165d3a6e6873bd0a74fcfdba1b523fdeeab
parentc155c88b9bfb51a6d4f74849fe2fed1fccb74ee4
sparc64: pci slots information is not populated in sysfs

Add PCI slot numbers within sysfs for PCIe hardware.  Larger
PCIe systems with nested PCI bridges and slots further
down on these bridges were not being populated within sysfs.
This will add ACPI style PCI slot numbers for these systems
since the OF 'slot-names' information is not available on
all PCIe platforms.

Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci.c