diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-06-10 15:03:49 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-14 16:00:17 +1000 |
commit | b0cb209e3893d1db7f10662c0803997d928942e5 (patch) | |
tree | f18761bfb32f55cf756cc960e01b50fbfb47765e /skiboot.lds.S | |
parent | aa928bfbd89192ea13809c6cd8f0402fd981a976 (diff) | |
download | skiboot-b0cb209e3893d1db7f10662c0803997d928942e5.zip skiboot-b0cb209e3893d1db7f10662c0803997d928942e5.tar.gz skiboot-b0cb209e3893d1db7f10662c0803997d928942e5.tar.bz2 |
core/pci: Use PCI slot in enumeration
During PCI enumeration, the root complex's link and fundamental
reset are carried out by PHB's callbacks which are replaced by
the corresponding PCI slot's callbacks. Also, the hotplug related
device node properties are populated based on the PCI slot info
that is included in PCI slot now.
This uses PCI slot in enumeration:
* Use PCI slot's callbacks for fundamental reset and link status
retrieval in PCI enumeration.
* Simplify the code by removing traditional PCI/PCI-x related
logic as we don't have PCI/PCI-X root complex.
* Replace pci_add_slot_properties() with pci_slot_add_properties()
to populate PCI slot properties in device-tree.
* PHB is always not hotpluggable. No hotpluggable properties in
its device node are needed.
* Remove "struct pci_slot_info" definition as its info is included
in "struct pci_slot".
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
0 files changed, 0 insertions, 0 deletions