[PATCH] lpfc: add cfg_use_msi test before pci_msi_disable() calls

2007-03-23 Thread Richard Lary
From: Richard Lary [EMAIL PROTECTED] This patch adds test for phba-cfg_use_msi before calls to pci_msi_disable() to prevent calls to this function when pci_msi_enable() has not been called. Signed-off-by: Richard Lary [EMAIL PROTECTED] --- Calling pci_msi_disable() when pci_msi_enable() has not

Re: [PATCH] lpfc: add cfg_use_msi test before pci_msi_disable() calls

2007-03-23 Thread James Smart
Richard, When we put this in, the kernel code that we inspected allowed for the call if msi was not enabled (check on dev-msi_enabled), and did nothing. Thus, we believed it was in the scope of the interface. kfree does the same kind of thing. Testing on 2.6.21-rc4 on a machine w/o MSI also

Re: [PATCH] lpfc: add cfg_use_msi test before pci_msi_disable() calls

2007-03-23 Thread Richard Lary
When we put this in, the kernel code that we inspected allowed for the call if msi was not enabled (check on dev-msi_enabled), and did nothing. Thus, we believed it was in the scope of the interface. kfree does the same kind of thing. Testing on 2.6.21-rc4 on a machine w/o MSI also results