diff options
| author | Robert Elliott <[email protected]> | 2014-11-14 17:27:24 -0600 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2014-11-20 09:11:27 +0100 |
| commit | 4fa604e13bb2a6ef6e89224c80d96af385f533c3 (patch) | |
| tree | 144db757929f69c824f3848a6cb0dd751248acef /tools/perf/scripts/python | |
| parent | 763aadbf5015e86e93d209f10e34fd4daacc459b (diff) | |
hpsa: always call pci_set_master after pci_enable_device
If the kernel is booted with the reset_device parameter, which
is done for kdump, then the driver needs to call pci_set_master
after pci_enable_device to reenable bus mastering (since
the preceding pci_disable_device call disables bus mastering).
Also, place that after pci_request_regions both in the
kdump code and the normal pci_init code.
Remove the comment summarizing what pci_set_master
does, with the incomplete commentary on the impact of
pci_disable_device.
Signed-off-by: Robert Elliott <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Reviewed-by: Don Brace <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions