diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-03-13 21:09:29 -0700 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-05-11 14:49:04 +0100 |
commit | dc407ae8a75d03cf48e114d3812d077fa29a8bd9 (patch) | |
tree | 2d2d1f80234c78c05540b4bc8a5d510f09af6248 /include | |
parent | 5dcc26371dcc72976777c51f0251127716a59ed8 (diff) | |
download | qemu-dc407ae8a75d03cf48e114d3812d077fa29a8bd9.tar.gz qemu-dc407ae8a75d03cf48e114d3812d077fa29a8bd9.tar.bz2 qemu-dc407ae8a75d03cf48e114d3812d077fa29a8bd9.zip |
pci: add network device class 'other' for network switches
Rocker is an ethernet switch device, so add 'other' network device class as
defined by PCI to cover these types of devices.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Message-id: 1426306173-24884-6-git-send-email-sfeldma@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci/pci_ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h index d7be386849..c6de71030b 100644 --- a/include/hw/pci/pci_ids.h +++ b/include/hw/pci/pci_ids.h @@ -23,6 +23,7 @@ #define PCI_CLASS_STORAGE_OTHER 0x0180 #define PCI_CLASS_NETWORK_ETHERNET 0x0200 +#define PCI_CLASS_NETWORK_OTHER 0x0280 #define PCI_CLASS_DISPLAY_VGA 0x0300 #define PCI_CLASS_DISPLAY_OTHER 0x0380 |