Skip to content

Commit

Permalink
[SCSI] qla2xxx: EEH: Restore PCI saved state during pci slot reset.
Browse files Browse the repository at this point in the history
Cc: stable@kernel.org
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Richard Lary authored and James Bottomley committed Feb 19, 2010
1 parent ae97c91 commit 8c1496b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -3362,6 +3362,11 @@ qla2xxx_pci_slot_reset(struct pci_dev *pdev)

pci_restore_state(pdev);

/* pci_restore_state() clears the saved_state flag of the device
* save restored state which resets saved_state flag
*/
pci_save_state(pdev);

if (ha->mem_only)
rc = pci_enable_device_mem(pdev);
else
Expand Down

0 comments on commit 8c1496b

Please sign in to comment.