Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150776233
D56097.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
522 B
Referenced Files
None
Subscribers
None
D56097.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D56097: uart/pci: always disable MSI for generic devices
Attached
Detach File
Event Timeline
Log In to Comment