如果 PCI 插槽直接连接到 CPU,或者通过南桥/PCH,是否有办法列出 PCI 插槽(或其各自的设备)并输出?
答案1
有没有办法列出 PCI 插槽
是的,你可以看看lspci
man lspci
你可以看到使用的是什么桥。您有不同的详细选项:
lspci -vvv
最详细的模式。
您也可能会得到您想要的:
hwinfo --short
最后,您可以列出您的插槽dmidecode -t 9
并列出板载设备dmidecode -t 10
答案2
lspci -tv
在此示例中,0x14 之前的设备连接到 CPU 根联合体。 0x14 处或之后位于 PCH 后面。
-[0000:00]-+-00.0 Intel Corporation 4th Gen Core Processor DRAM Controller
+-01.0-[01]----00.0 Intel Corporation Express Flash NVMe P4500/P4600
+-14.0 Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
+-16.0 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1
+-16.1 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #2
+-1a.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2
+-1c.0-[02]--
+-1c.2-[03]----00.0 Intel Corporation I210 Gigabit Network Connection
+-1c.3-[04]----00.0 Intel Corporation I210 Gigabit Network Connection
+-1c.7-[05-06]----00.0-[06]----00.0 ASPEED Technology, Inc. ASPEED Graphics Family
+-1d.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1
+-1f.0 Intel Corporation C224 Series Chipset Family Server Standard SKU LPC Controller
+-1f.2 Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
\-1f.3 Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller