PCI function number for SATA AHCI controller
Posted
by
Look Alterno
on Programmers
See other posts from Programmers
or by Look Alterno
Published on 2012-10-30T16:08:08Z
Indexed on
2012/10/30
17:18 UTC
Read the original article
Hit count: 184
I'm debugging a second stage boot loader for a PC with SATA AHCI controller. I'm able to enumerate the PCI bus and find the hard disk. So far, so good. Now, lspci in my notebook (Dell Inspiron 1525) show me:
-[0000:00]-+-1f.0 Intel Corporation 82801HEM (ICH8M) LPC Interface Controller
+-1f.1 Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller
+-1f.2 Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller
\-1f.3 Intel Corporation 82801H (ICH8 Family) SMBus Controller
My question: Is SATA AHCI Controller always function 2 in any PC? If not, how I found?
I don't pretend to be general; booting my notebook will be good enough, without compromise further refinements.
© Programmers or respective owner