Page MenuHomeFreeBSD

D56097.diff
No OneTemporary

D56097.diff

diff --git a/sys/dev/uart/uart_bus_pci.c b/sys/dev/uart/uart_bus_pci.c
--- a/sys/dev/uart/uart_bus_pci.c
+++ b/sys/dev/uart/uart_bus_pci.c
@@ -339,7 +339,8 @@
* suggests this is only reliable when one MSI vector is advertised.
*/
id = uart_pci_match(dev, pci_ns8250_ids);
- if ((id == NULL || (id->rid & PCI_NO_MSI) == 0) &&
+ /* Always disable MSI for generic devices. */
+ if (id != NULL && (id->rid & PCI_NO_MSI) == 0 &&
pci_msi_count(dev) == 1) {
count = 1;
if (pci_alloc_msi(dev, &count) == 0) {

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 11:51 PM (8 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30443027
Default Alt Text
D56097.diff (522 B)

Event Timeline