ahci was broken when I added the check for the pci programming
interface. Only do that on PCI bus attached devices.
Sponsored by: Netflix
Differential D56994
nvme: Use newbus to ask if a device is storage Authored by imp on May 13 2026, 7:05 PM. Tags Referenced Files
Details
Diff Detail
Event Timeline
Comment Actions In terms of accessors in general: I recently added a new "has" wrapper method to __BUS_ACCESSOR, but it only works if your IVAR is using a "global" number and not the private range. All of the PCI IVARs are in the private range.
Comment Actions Tested on my intel comet lake desktop w/ nvme attached via an ahci sata/raid integrated, worked just fine. honestly i think this is fine to land to unbrick head and stable/15, and we should take a side quest to clean up things. Comment Actions with jhb's suggestions, this is all him, I wonder if I should do co-authored-by: jhb, or set him to the author and add stolen-shamelessly-by: imp | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||