]> Git Repo - qemu.git/commitdiff
pci: add network device class 'other' for network switches
authorScott Feldman <[email protected]>
Sat, 14 Mar 2015 04:09:29 +0000 (21:09 -0700)
committerStefan Hajnoczi <[email protected]>
Mon, 11 May 2015 13:49:04 +0000 (14:49 +0100)
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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Message-id: 1426306173[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
include/hw/pci/pci_ids.h

index d7be386849a2bbff666d17d4ad7861c616ff47e3..c6de71030b553f7790aa55d1f54b8320382dd45a 100644 (file)
@@ -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
This page took 0.025201 seconds and 4 git commands to generate.