提交 f7748569 编写于 作者: J Jan Kiszka 提交者: Michael S. Tsirkin

pci: Add class 0xc05 as 'SMBus'

[jbaron@redhat.com: add PCI_CLASS_SERIAL_SMBUS definition]
Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NJason Baron <jbaron@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 91e56159
...@@ -1237,6 +1237,7 @@ static const pci_class_desc pci_class_descriptions[] = ...@@ -1237,6 +1237,7 @@ static const pci_class_desc pci_class_descriptions[] =
{ 0x0c02, "SSA controller", "ssa"}, { 0x0c02, "SSA controller", "ssa"},
{ 0x0c03, "USB controller", "usb"}, { 0x0c03, "USB controller", "usb"},
{ 0x0c04, "Fibre channel controller", "fibre-channel"}, { 0x0c04, "Fibre channel controller", "fibre-channel"},
{ 0x0c05, "SMBus"},
{ 0, NULL} { 0, NULL}
}; };
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#define PCI_CLASS_SYSTEM_OTHER 0x0880 #define PCI_CLASS_SYSTEM_OTHER 0x0880
#define PCI_CLASS_SERIAL_USB 0x0c03 #define PCI_CLASS_SERIAL_USB 0x0c03
#define PCI_CLASS_SERIAL_SMBUS 0x0c05
#define PCI_CLASS_BRIDGE_HOST 0x0600 #define PCI_CLASS_BRIDGE_HOST 0x0600
#define PCI_CLASS_BRIDGE_ISA 0x0601 #define PCI_CLASS_BRIDGE_ISA 0x0601
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册