|
@@ -2647,8 +2647,8 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
if (board_id == board_ahci_sb700 && pdev->revision >= 0x40)
|
|
if (board_id == board_ahci_sb700 && pdev->revision >= 0x40)
|
|
hpriv->flags &= ~AHCI_HFLAG_IGN_SERR_INTERNAL;
|
|
hpriv->flags &= ~AHCI_HFLAG_IGN_SERR_INTERNAL;
|
|
|
|
|
|
- if ((hpriv->flags & AHCI_HFLAG_NO_MSI) || pci_enable_msi(pdev))
|
|
|
|
- pci_intx(pdev, 1);
|
|
|
|
|
|
+ if (!(hpriv->flags & AHCI_HFLAG_NO_MSI))
|
|
|
|
+ pci_enable_msi(pdev);
|
|
|
|
|
|
/* save initial config */
|
|
/* save initial config */
|
|
ahci_save_initial_config(pdev, hpriv);
|
|
ahci_save_initial_config(pdev, hpriv);
|