HomeFreeBSD

ahci: Don't fail attach if the MSI-X BARs cannot be allocated

Description

ahci: Don't fail attach if the MSI-X BARs cannot be allocated

If the MSI-X table and/or PBA live in separate BAR(s) and those BAR(s)
cannot be allocated, fall back to using MSI or INTx instead of failing
attach.

PR: 289748
Reported by: Vitalij Satanivskij <satan@Ukr.net>
Reviewed by: avg, imp
Differential Revision: https://reviews.freebsd.org/D52889

(cherry picked from commit b658158e9396848d3963e9555d356d0f4ca6900a)

Details

Provenance
jhbAuthored on Mon, Oct 6, 5:56 PM
Reviewer
avg
Differential Revision
D52889: ahci: Don't fail attach if the MSI-X BARs cannot be allocated
Parents
rG567234916425: ahci: Use pci_msix_*_bar instead of reading config registers directly
Branches
Unknown
Tags
Unknown