概述
# 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, DID所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复