diff options
author | Yinghai Lu <yhlu.kernel.send@gmail.com> | 2008-04-23 17:58:09 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2008-04-29 12:12:51 -0400 |
commit | d52877c7b1afb8c37ebe17e2005040b79cb618b0 (patch) | |
tree | b5cc4252cad0d7f22a6b63e50d1ec46a9a495773 /drivers/pci/pci-driver.c | |
parent | 8e149e09f91098fd72bf9ac5b4a77a693abf721e (diff) |
pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2
[PATCH 2/2] pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2
this change
| commit 23a274c8a5adafc74a66f16988776fc7dd6f6e51
| Author: Prakash, Sathya <sathya.prakash@lsi.com>
| Date: Fri Mar 7 15:53:21 2008 +0530
|
| [SCSI] mpt fusion: Enable MSI by default for SAS controllers
|
| This patch modifies the driver to enable MSI by default for all SAS chips.
|
| Signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
| Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|
Causes the kexec of a RHEL 5.1 kernel to fail.
root casue: the rhel 5.1 kernel still uses INTx emulation. and
mptscsih_shutdown doesn't call pci_disable_msi to reenable INTx on kexec path
So call pci_msi_shutdown in the shutdown path to do the same thing to msix
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index e8d94fafc280..72cf61ed8f96 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -360,6 +360,8 @@ static void pci_device_shutdown(struct device *dev) | |||
360 | 360 | ||
361 | if (drv && drv->shutdown) | 361 | if (drv && drv->shutdown) |
362 | drv->shutdown(pci_dev); | 362 | drv->shutdown(pci_dev); |
363 | pci_msi_shutdown(pci_dev); | ||
364 | pci_msix_shutdown(pci_dev); | ||
363 | } | 365 | } |
364 | 366 | ||
365 | /** | 367 | /** |