Message ID | 20190403090920.362-6-oohall@gmail.com |
---|---|
State | RFC |
Headers | show |
Series | [RFC,01/23] platform/firenze-pci: Remove freset | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (050d8165ab05b6d9cdf4bfee42d9776969c77029) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
diff --git a/include/pci-slot.h b/include/pci-slot.h index ac1cfbef8f46..cb36d7b6df5a 100644 --- a/include/pci-slot.h +++ b/include/pci-slot.h @@ -102,6 +102,7 @@ struct pci_slot_ops { int64_t (*get_latch_state)(struct pci_slot *slot, uint8_t *val); int64_t (*set_power_state)(struct pci_slot *slot, uint8_t val); int64_t (*set_attention_state)(struct pci_slot *slot, uint8_t val); + int64_t (*assert_perst)(struct pci_slot *slot, bool val); /* SM based functions for reset */ void (*prepare_link_change)(struct pci_slot *slot, bool is_up);
Add a seperate slot operation to control a PCI slot's PERST signal. This is to allow generic code to perform a fundemental reset of the slot without needing to know any hardware (or platform) specific details about the slot. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- include/pci-slot.h | 1 + 1 file changed, 1 insertion(+)