diff options
| author | Roger Pau Monné <royger@FreeBSD.org> | 2026-03-26 19:59:24 +0000 |
|---|---|---|
| committer | Roger Pau Monné <royger@FreeBSD.org> | 2026-03-27 08:26:32 +0000 |
| commit | c562c81e315cd25bd35d5ece14ef9a3cb569cab5 (patch) | |
| tree | 70f5e1a34df45e56b490c796a26e67f3f822c34c /sys/dev/uart | |
| parent | 1491fe8f864af5af37e83f1d12459905fb6097fd (diff) | |
Diffstat (limited to 'sys/dev/uart')
| -rw-r--r-- | sys/dev/uart/uart_bus_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus_pci.c b/sys/dev/uart/uart_bus_pci.c index 7087958cbfa9..b0d285e3c603 100644 --- a/sys/dev/uart/uart_bus_pci.c +++ b/sys/dev/uart/uart_bus_pci.c @@ -339,7 +339,8 @@ uart_pci_attach(device_t dev) * 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) { |
