aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2017-11-20 17:32:12 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-21 21:05:06 -0600
commit93cde639b56e927d96e102186f1ec862a4a1b671 (patch)
tree36ebb8083401adc40a3fb5c61f00b3b97cbb890b /include
parent646dbfbec2870f81297e6a01da3f47712068364a (diff)
downloadskiboot-93cde639b56e927d96e102186f1ec862a4a1b671.zip
skiboot-93cde639b56e927d96e102186f1ec862a4a1b671.tar.gz
skiboot-93cde639b56e927d96e102186f1ec862a4a1b671.tar.bz2
pci: Track peers of slots
Witherspoon introduced a new concept where one physical slot is shared between two PHBs. Making a slot aware of its peer enables syncing between them where necessary. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/pci-slot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pci-slot.h b/include/pci-slot.h
index 1d323aa..bb66d7c 100644
--- a/include/pci-slot.h
+++ b/include/pci-slot.h
@@ -186,6 +186,7 @@ struct pci_slot {
uint64_t retries;
uint64_t link_retries;
struct pci_slot_ops ops;
+ struct pci_slot *peer_slot;
void *data;
};