diff options
author | Robert Elliott <elliott@hp.com> | 2014-11-15 00:27:24 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 09:11:27 +0100 |
commit | 4fa604e13bb2a6ef6e89224c80d96af385f533c3 (patch) | |
tree | 144db757929f69c824f3848a6cb0dd751248acef /samples | |
parent | hpsa: Convert SCSI LLD ->queuecommand() for host_lock less operation (diff) | |
download | linux-4fa604e13bb2a6ef6e89224c80d96af385f533c3.tar.xz linux-4fa604e13bb2a6ef6e89224c80d96af385f533c3.zip |
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 <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions