疑问:linux怎样下怎么查看当前pci总线频率

疑问:linux怎样下怎么查看当前pci总线频率,第1张

用 lshw 命令即可看到各种硬件参数。比如,我的电脑用这个命令返回的内容中包括:

*-pci:0

description: PCI bridge

product: Intel Corporation

vendor: Intel Corporation

physical id: 1c

bus info: pci@0000:00:1c.0

version: 35

width: 32 bits

clock: 33MHz

capabilities: pci pciexpress msi pm normal_decode bus_master cap_list

configuration: driver=pcieport

resources: irq:16 ioport:1000(size=4096) memory:91100000-911fffff

*-network DISABLED

description: Ethernet interface

product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

vendor: Realtek Semiconductor Co., Ltd.

physical id: 0

bus info: pci@0000:01:00.0

logical name: enp1s0

version: 15

serial: 30:65:ec:a3:e2:f3

size: 10Mbit/s

capacity: 1Gbit/s

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation

configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s

resources: irq:308 ioport:1000(size=256) memory:91104000-91104fff memory:91100000-91103fff

*-pci:1

description: PCI bridge

product: Intel Corporation

vendor: Intel Corporation

physical id: 1c.1

bus info: pci@0000:00:1c.1

version: 35

width: 32 bits

clock: 33MHz

capabilities: pci pciexpress msi pm normal_decode bus_master cap_list

configuration: driver=pcieport

resources: irq:17 memory:91000000-910fffff

*-network

description: Wireless interface

product: QCA9565 / AR9565 Wireless Network Adapter

vendor: Qualcomm Atheros

physical id: 0

bus info: pci@0000:02:00.0

logical name: wlp2s0

version: 01

serial: c8:ff:28:48:04:ed

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless

configuration: broadcast=yes driver=ath9k driverversion=4.4.0-51-generic firmware=N/A ip=192.168.43.133 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn

resources: irq:17 memory:91000000-9107ffff memory:91080000-9108ffff

这个片段中我们可用看到我的电脑有两个PCI总线(PCI:0和PCI:1),其中“clock: 33MHz”表明总线频率位33兆。

h t t p : / / www . orbit-lab . org / kernel / compat-wireless-3-stable / v3.6 / compat-wireless-3.6.6-1-snpc.tar.bz2

由于百度 s b 的屏蔽原因,请自己删除网址中的空格


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/7609395.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-07
下一篇 2023-04-07

发表评论

登录后才能评论

评论列表(0条)

保存