我是靠谱客的博主 如意美女,这篇文章主要介绍Linux启动PCI扫描出所有设备VID, DID,现在分享给大家,希望可以做个参考。


# grep pci messages | grep class
May 15 16:12:50 kernel: pci 0000:00:00.0: [8086:0100] type 0 class 0x000600
May 15 16:12:50 kernel: pci 0000:00:01.0: [8086:0101] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:01.1: [8086:0105] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:02.0: [8086:0102] type 0 class 0x000300
May 15 16:12:50 kernel: pci 0000:00:16.0: [8086:1c3a] type 0 class 0x000780
May 15 16:12:50 kernel: pci 0000:00:1a.0: [8086:1c2d] type 0 class 0x000c03
May 15 16:12:50 kernel: pci 0000:00:1b.0: [8086:1c20] type 0 class 0x000403
May 15 16:12:50 kernel: pci 0000:00:1c.0: [8086:1c10] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:1c.1: [8086:1c12] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:1c.2: [8086:1c14] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:1c.3: [8086:1c16] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:1d.0: [8086:1c26] type 0 class 0x000c03
May 15 16:12:50 kernel: pci 0000:00:1e.0: [8086:244e] type 1 class 0x000604
May 15 16:12:50 kernel: pci 0000:00:1f.0: [8086:1c56] type 0 class 0x000601
May 15 16:12:50 kernel: pci 0000:00:1f.2: [8086:1c00] type 0 class 0x000101
May 15 16:12:50 kernel: pci 0000:00:1f.3: [8086:1c22] type 0 class 0x000c05
May 15 16:12:50 kernel: pci 0000:00:1f.5: [8086:1c08] type 0 class 0x000101
May 15 16:12:50 kernel: pci 0000:01:00.0: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:01:00.1: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:01:00.2: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:01:00.3: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:02:00.0: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:02:00.1: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:02:00.2: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:02:00.3: [8086:150f] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:03:00.0: [8086:10d3] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:04:00.0: [8086:10d3] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:05:00.0: [8086:10d3] type 0 class 0x000200
May 15 16:12:50 kernel: pci 0000:06:00.0: [8086:10d3] type 0 class 0x000200

8086 VID 即代表Intel设备
10d3 DID 即代表Intel E1000_DEV_ID_82574L
150f DID 即代表Intel E1000_DEV_ID_82580_FIBER

dev_printk(KERN_DEBUG, &dev->dev, "[%04x:%04x] type %d class %#08xn",
           dev->vendor, dev->device, dev->hdr_type, class);
           
#define PCI_VENDOR_ID_INTEL        0x8086
#define E1000_DEV_ID_82574L   0x10D3

#define E1000_DEV_ID_82580_FIBER              0x150F

转载于:https://www.cnblogs.com/mull/archive/2013/05/15/4477823.html

最后

以上就是如意美女最近收集整理的关于Linux启动PCI扫描出所有设备VID, DID的全部内容,更多相关Linux启动PCI扫描出所有设备VID,内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(114)

评论列表共有 0 条评论

立即
投稿
返回
顶部