Skip to contentSkip to conversation

pch_uart: Fix MSI setting issue

PATCH New Tomoya MORINAGA 1 participant 1 message Apr 2, 2012 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pch_uart: Fix MSI setting issue

The following patch (MSI setting) is not enough.

commit e463595fd9c752fa4bf06b47df93ef9ade3c7cf0

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

pch_uart: Add MSI support

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

---
 drivers/tty/serial/pch_uart.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/tty/serial/pch_uart.c +1 -0
index 5928877..ae8f848 100644
@@ -1586,6 +1586,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);
Signature · 1 line
1.7.7.6