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)
commitf0c1a1173773a56d500f1814893e63f97580f76a
treef1ff5165d3a6e6873bd0a74fcfdba1b523fdeeab
parent8642ad1c7ba43b1c48eb39a863e975f3f8f96168
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