diff options
author | Jason Gunthorpe <[email protected]> | 2013-10-01 11:58:00 -0600 |
---|---|---|
committer | Jason Cooper <[email protected]> | 2013-10-08 16:45:16 +0000 |
commit | 9f352f0e6c0fa2dc608812df297769789b7ecc51 (patch) | |
tree | 3b31078c8202355ee95240008cd4769042bee766 /tools/perf/util/trace-event-scripting.c | |
parent | 96ae0b548672adc12431312718835e77472f5bf0 (diff) |
PCI: mvebu: Dynamically detect if the PEX link is up to enable hot plug
Otherwise hotplugging the PEX doesn't work at all since the driver
detects the link state at probe time. Simply replacing the two tests
of haslink with a register read is enough to fix it.
Tested on kirkwood with repeated plug/unplug of the link partner.
Signed-off-by: Jason Gunthorpe <[email protected]>
Acked-by: Thomas Petazzoni <[email protected]>
Tested-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions