From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGK0-00021R-VE for qemu-devel@nongnu.org; Thu, 05 Feb 2015 01:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJGJq-0006tQ-Kj for qemu-devel@nongnu.org; Thu, 05 Feb 2015 01:53:52 -0500 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:62780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJGJq-0006sf-DE for qemu-devel@nongnu.org; Thu, 05 Feb 2015 01:53:42 -0500 Received: by mail-pa0-f54.google.com with SMTP id eu11so7949530pac.13 for ; Wed, 04 Feb 2015 22:53:41 -0800 (PST) From: sfeldma@gmail.com Date: Wed, 4 Feb 2015 22:54:16 -0800 Message-Id: <1423119261-60904-6-git-send-email-sfeldma@gmail.com> In-Reply-To: <1423119261-60904-1-git-send-email-sfeldma@gmail.com> References: <1423119261-60904-1-git-send-email-sfeldma@gmail.com> Subject: [Qemu-devel] [PATCH v6 05/10] pci: add network device class 'other' for network switches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, jiri@resnulli.us, roopa@cumulusnetworks.com, john.fastabend@gmail.com, eblake@redhat.com, pbonzini@redhat.com, stefanha@gmail.com, dsahern@gmail.com, jasowang@redhat.com From: Scott Feldman 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 Signed-off-by: Jiri Pirko --- 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