All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 06/10] pci: add network device class 'other' for network switches
@ 2014-12-30  5:14 sfeldma
  0 siblings, 0 replies; only message in thread
From: sfeldma @ 2014-12-30  5:14 UTC (permalink / raw)
  To: qemu-devel, jiri, roopa, john.fastabend

From: Scott Feldman <sfeldma@gmail.com>

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>
---
 include/hw/pci/pci_ids.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h
index d7be386..c6de710 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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-30  5:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30  5:14 [Qemu-devel] [PATCH 06/10] pci: add network device class 'other' for network switches sfeldma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.