Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150519647
D52889.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
758 B
Referenced Files
None
Subscribers
None
D52889.diff
View Options
diff --git a/sys/dev/ahci/ahci_pci.c b/sys/dev/ahci/ahci_pci.c
--- a/sys/dev/ahci/ahci_pci.c
+++ b/sys/dev/ahci/ahci_pci.c
@@ -576,8 +576,8 @@
ctlr->r_msix_table = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
&ctlr->r_msix_tab_rid, RF_ACTIVE);
if (ctlr->r_msix_table == NULL) {
- ahci_free_mem(dev);
- return (ENXIO);
+ msix_count = 0;
+ goto no_msix;
}
}
@@ -592,12 +592,12 @@
ctlr->r_msix_pba = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
&ctlr->r_msix_pba_rid, RF_ACTIVE);
if (ctlr->r_msix_pba == NULL) {
- ahci_free_mem(dev);
- return (ENXIO);
+ msix_count = 0;
}
}
}
+no_msix:
pci_enable_busmaster(dev);
/* Reset controller */
if ((error = ahci_pci_ctlr_reset(dev)) != 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 11:17 PM (6 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30738680
Default Alt Text
D52889.diff (758 B)
Attached To
Mode
D52889: ahci: Don't fail attach if the MSI-X BARs cannot be allocated
Attached
Detach File
Event Timeline
Log In to Comment