Searched hist:"4 fa604e13bb2a6ef6e89224c80d96af385f533c3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A D | hpsa.c | diff 4fa604e13bb2a6ef6e89224c80d96af385f533c3 Fri Nov 14 17:27:24 CST 2014 Robert Elliott <elliott@hp.com> 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>
|