AHCI Controller Definition

Programming, for all ages and all languages.
Post Reply
grenders22
Posts: 16
Joined: Thu Mar 01, 2018 10:09 am

AHCI Controller Definition

Post by grenders22 »

Trying to find the AHCI Controller ID through PCI devices. There were no problems on virtual QEMU (vendor 0x8086 devices 0x2922), but on real hardware something does not work. How can I determine the id? Maybe you can not determine the software? There are too many devices on real hardware, and stupidly brute force is unrealistic. And QEMU literally defines 4 devices, so there were no problems.
Octocontrabass
Member
Member
Posts: 5568
Joined: Mon Mar 25, 2013 7:01 pm

Re: AHCI Controller Definition

Post by Octocontrabass »

You should be able to find most (if not all) AHCI controllers using the class code.
ggodw000
Member
Member
Posts: 396
Joined: Wed Nov 18, 2015 3:04 pm
Location: San Jose San Francisco Bay Area
Contact:

Re: AHCI Controller Definition

Post by ggodw000 »

I think class coffee is your friend and vendor and device id for more fine grained control. Since there could be multiple vendors using specific class and subclass code.
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails
Post Reply