pch_uart: Fix MSI setting issue

The following patch (MSI setting) is not enough.

commit e463595fd9
Author: Alexander Stein <[email protected]>
Date:   Mon Jul 4 08:58:31 2011 +0200

    pch_uart: Add MSI support

    Signed-off-by: Alexander Stein <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>

To enable MSI mode, PCI bus-mastering must be enabled.
This patch enables the setting.

cc: Alexander Stein <[email protected]>
Signed-off-by: Tomoya MORINAGA <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Tomoya MORINAGA 2012-04-02 14:36:22 +09:00 • committed by Greg Kroah-Hartman
commit 867c902e07

View file

@ -1655,6 +1655,7 @@ static struct eg20t_port *pch_uart_init_port(struct pci_dev *pdev,
}
pci_enable_msi(pdev);
pci_set_master(pdev);
iobase = pci_resource_start(pdev, 0);
mapbase = pci_resource_start(pdev, 1);